Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001693/0.001693, allocations: 103.8 kB / 21.93 MB, free: 5.203 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.002093/0.002093, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 51.92 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2741, allocations: 49.16 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002416/0.2766, allocations: 1.343 MB / 398.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1743/0.4509, allocations: 129.5 MB / 0.5161 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.451, allocations: 4 kB / 0.5161 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.4511, allocations: 11.92 kB / 0.5161 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.4527, allocations: 346.2 kB / 0.5164 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.4553, allocations: 0.8242 MB / 0.5172 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.4555, allocations: 79.62 kB / 0.5173 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.4555, allocations: 11.59 kB / 0.5173 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.211e-05/0.4556, allocations: 31.86 kB / 0.5174 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4557, allocations: 31.89 kB / 0.5174 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.4557, allocations: 4 kB / 0.5174 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.4583, allocations: 1.177 MB / 0.5185 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.4583, allocations: 19.92 kB / 0.5186 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.4584, allocations: 27.91 kB / 0.5186 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.4601, allocations: 0.8143 MB / 0.5194 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4601, allocations: 0 / 0.5194 GB, free: 12.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4601, allocations: 0 / 0.5194 GB, free: 12.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4601, allocations: 0 / 0.5194 GB, free: 12.47 MB / 446.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.0008431/0.4609, allocations: 413 kB / 0.5198 GB, free: 12.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.461, allocations: 11.98 kB / 0.5198 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.4613, allocations: 32.89 kB / 0.5198 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.4615, allocations: 146.4 kB / 0.52 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.4615, allocations: 4.375 kB / 0.52 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4616, allocations: 7.938 kB / 0.52 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.4618, allocations: 75.33 kB / 0.52 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4618, allocations: 0 / 0.52 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4618, allocations: 0 / 0.52 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4618, allocations: 0 / 0.52 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4619, allocations: 39.97 kB / 0.5201 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.4621, allocations: 146.2 kB / 0.5202 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.4625, allocations: 109.1 kB / 0.5203 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.4625, allocations: 45.75 kB / 0.5204 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.4631, allocations: 59.88 kB / 0.5204 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4631, allocations: 34.56 kB / 0.5205 GB, free: 11.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4631, allocations: 4 kB / 0.5205 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004051/0.4635, allocations: 121.8 kB / 0.5206 GB, free: 11.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.4636, allocations: 81.11 kB / 0.5207 GB, free: 11.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4637, allocations: 145.8 kB / 0.5208 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4637, allocations: 25.7 kB / 0.5208 GB, free: 10.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.4638, allocations: 88.14 kB / 0.5209 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.4638, allocations: 23.8 kB / 0.5209 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.4639, allocations: 21.7 kB / 0.521 GB, free: 10.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.464, allocations: 318.8 kB / 0.5213 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.4641, allocations: 23.98 kB / 0.5213 GB, free: 10.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.4642, allocations: 51.41 kB / 0.5213 GB, free: 10.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.4644, allocations: 79.34 kB / 0.5214 GB, free: 10.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4644, allocations: 4 kB / 0.5214 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002597/0.4646, allocations: 117.4 kB / 0.5215 GB, free: 10.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4646, allocations: 4 kB / 0.5215 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4646, allocations: 0 / 0.5215 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4647, allocations: 8.062 kB / 0.5215 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.4647, allocations: 19.92 kB / 0.5215 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4647, allocations: 0 / 0.5215 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.4648, allocations: 7.938 kB / 0.5216 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.4648, allocations: 0 / 0.5216 GB, free: 10.02 MB / 446.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 9.599e-05/0.4649, allocations: 117.8 kB / 0.5217 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.4649, allocations: 11.89 kB / 0.5217 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.4652, allocations: 114 kB / 0.5218 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4652, allocations: 8 kB / 0.5218 GB, free: 9.762 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4652, allocations: 4 kB / 0.5218 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4652, allocations: 0 / 0.5218 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.4654, allocations: 129.3 kB / 0.5219 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4654, allocations: 0 / 0.5219 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.4654, allocations: 12 kB / 0.5219 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4655, allocations: 3.938 kB / 0.5219 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4655, allocations: 0 / 0.5219 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4655, allocations: 4 kB / 0.5219 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4655, allocations: 7.922 kB / 0.5219 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.4658, allocations: 161.9 kB / 0.5221 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.4659, allocations: 20.08 kB / 0.5221 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4659, allocations: 4 kB / 0.5221 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.466, allocations: 0 / 0.5221 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.466, allocations: 11.97 kB / 0.5221 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.466, allocations: 4 kB / 0.5221 GB, free: 9.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.4661, allocations: 107.3 kB / 0.5222 GB, free: 9.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4661, allocations: 0 / 0.5222 GB, free: 9.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007127/0.4668, allocations: 207.3 kB / 0.5224 GB, free: 9.047 MB / 446.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.001406/0.4682, allocations: 0.5347 MB / 0.523 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4685, allocations: 63.91 kB / 0.523 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4685, allocations: 3.938 kB / 0.523 GB, free: 8.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.4685, allocations: 27.97 kB / 0.5231 GB, free: 8.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4688, allocations: 24.05 kB / 0.5231 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.4694, allocations: 333.6 kB / 0.5234 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.4695, allocations: 75.33 kB / 0.5235 GB, free: 7.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.4695, allocations: 19.42 kB / 0.5235 GB, free: 7.91 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4695, allocations: 4 kB / 0.5235 GB, free: 7.906 MB / 446.1 MB Notification: Performance of Templates: time 0.009011/0.4786, allocations: 4.857 MB / 0.5282 GB, free: 3.043 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 8.715819312259555]