Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 43.94 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2148, allocations: 53.37 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002446/0.2172, allocations: 1.393 MB / 433.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.3728/0.59, allocations: 152.4 MB / 0.5724 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.59, allocations: 0 / 0.5724 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4e-05/0.5901, allocations: 7.375 kB / 0.5725 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.5911, allocations: 388.1 kB / 0.5728 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.5921, allocations: 0.5151 MB / 0.5733 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.5922, allocations: 74.84 kB / 0.5734 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.5922, allocations: 7.062 kB / 0.5734 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.5922, allocations: 37.2 kB / 0.5734 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.5923, allocations: 34.7 kB / 0.5735 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5923, allocations: 0 / 0.5735 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.5939, allocations: 1.16 MB / 0.5746 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.468e-05/0.5939, allocations: 16 kB / 0.5746 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.5939, allocations: 27.02 kB / 0.5746 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000793/0.5947, allocations: 0.6976 MB / 0.5753 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5947, allocations: 0 / 0.5753 GB, free: 12.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5947, allocations: 0 / 0.5753 GB, free: 12.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5947, allocations: 0 / 0.5753 GB, free: 12.7 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005621/0.5953, allocations: 387.1 kB / 0.5757 GB, free: 12.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.5953, allocations: 10.06 kB / 0.5757 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.5957, allocations: 75.61 kB / 0.5758 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.5959, allocations: 140.3 kB / 0.5759 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5959, allocations: 6.969 kB / 0.5759 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.5959, allocations: 10.91 kB / 0.5759 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.5961, allocations: 67.7 kB / 0.576 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5961, allocations: 0 / 0.576 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.5961, allocations: 6.344 kB / 0.576 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.5961, allocations: 0 / 0.576 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.483e-05/0.5962, allocations: 45.48 kB / 0.576 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5964, allocations: 161.5 kB / 0.5762 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5967, allocations: 116.4 kB / 0.5763 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.5967, allocations: 34.88 kB / 0.5763 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004368/0.5972, allocations: 63.44 kB / 0.5764 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.5972, allocations: 40.16 kB / 0.5764 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5972, allocations: 0 / 0.5764 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003197/0.5975, allocations: 117.4 kB / 0.5766 GB, free: 11.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.5976, allocations: 79.59 kB / 0.5766 GB, free: 11.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5977, allocations: 139.5 kB / 0.5768 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.5977, allocations: 25.7 kB / 0.5768 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.5977, allocations: 92.59 kB / 0.5769 GB, free: 11.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.5978, allocations: 24.02 kB / 0.5769 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.5978, allocations: 28.19 kB / 0.5769 GB, free: 11.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5979, allocations: 314.7 kB / 0.5772 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.598, allocations: 24.23 kB / 0.5772 GB, free: 11.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.5981, allocations: 48.12 kB / 0.5773 GB, free: 11.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.5982, allocations: 86.59 kB / 0.5774 GB, free: 11.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5982, allocations: 7.875 kB / 0.5774 GB, free: 11.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002224/0.5985, allocations: 109.2 kB / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.5985, allocations: 5.156 kB / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5985, allocations: 0 / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5985, allocations: 5.703 kB / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.164e-05/0.5986, allocations: 18.53 kB / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5986, allocations: 4.062 kB / 0.5775 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.5986, allocations: 7.266 kB / 0.5775 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.5986, allocations: 2.812 kB / 0.5775 GB, free: 11.06 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.421e-05/0.5987, allocations: 123.9 kB / 0.5776 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.5987, allocations: 5.281 kB / 0.5777 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.599, allocations: 115.9 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.599, allocations: 3.906 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.599, allocations: 4 kB / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.599, allocations: 0 / 0.5778 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5991, allocations: 154.6 kB / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5991, allocations: 2.219 kB / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.5992, allocations: 12.47 kB / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5992, allocations: 0 / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5992, allocations: 12.25 kB / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5992, allocations: 0 / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5992, allocations: 0 / 0.5779 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.5995, allocations: 172.5 kB / 0.5781 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.5996, allocations: 14.56 kB / 0.5781 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.5996, allocations: 2.781 kB / 0.5781 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.5996, allocations: 1.203 kB / 0.5781 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.5997, allocations: 10.2 kB / 0.5781 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.5997, allocations: 2.594 kB / 0.5781 GB, free: 10.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.5997, allocations: 112 kB / 0.5782 GB, free: 10.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5997, allocations: 4.062 kB / 0.5782 GB, free: 10.55 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.6002, allocations: 169.3 kB / 0.5784 GB, free: 10.52 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007535/0.6009, allocations: 410.5 kB / 0.5788 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.6011, allocations: 59.27 kB / 0.5789 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6011, allocations: 3.016 kB / 0.5789 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.6012, allocations: 32.03 kB / 0.5789 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.6014, allocations: 31.69 kB / 0.5789 GB, free: 10.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.6019, allocations: 351 kB / 0.5793 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.6022, allocations: 0.6931 MB / 0.5799 GB, free: 9.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.6022, allocations: 12.28 kB / 0.5799 GB, free: 9.387 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.6022, allocations: 2.938 kB / 0.5799 GB, free: 9.387 MB / 462.1 MB Notification: Performance of Templates: time 0.005851/0.6081, allocations: 4.052 MB / 0.5839 GB, free: 8.055 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.938688230002299]