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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103.2 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 191.3 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 51.92 kB / 329.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07055/0.07167, allocations: 46.61 MB / 375.8 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002314/0.07401, allocations: 1.372 MB / 377.2 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2863/0.3604, allocations: 150.8 MB / 0.5156 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.3605, allocations: 7.938 kB / 0.5156 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.3605, allocations: 0 / 0.5156 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.3616, allocations: 350.5 kB / 0.5159 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.3635, allocations: 0.8153 MB / 0.5167 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3636, allocations: 71.69 kB / 0.5168 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.3637, allocations: 7.938 kB / 0.5168 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.3637, allocations: 31.86 kB / 0.5168 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.3638, allocations: 35.83 kB / 0.5168 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3638, allocations: 4 kB / 0.5169 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.3661, allocations: 1.407 MB / 0.5182 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.3662, allocations: 15.97 kB / 0.5182 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3662, allocations: 27.86 kB / 0.5183 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.3675, allocations: 0.8536 MB / 0.5191 GB, free: 3.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3675, allocations: 3.938 kB / 0.5191 GB, free: 3.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3675, allocations: 0 / 0.5191 GB, free: 3.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3675, allocations: 0 / 0.5191 GB, free: 3.453 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.000714/0.3683, allocations: 471.8 kB / 0.5196 GB, free: 2.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3683, allocations: 8.031 kB / 0.5196 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.3686, allocations: 36.89 kB / 0.5196 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3688, allocations: 200.2 kB / 0.5198 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3688, allocations: 8.5 kB / 0.5198 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3688, allocations: 7.875 kB / 0.5198 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.369, allocations: 71.39 kB / 0.5199 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.369, allocations: 0 / 0.5199 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.369, allocations: 4 kB / 0.5199 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.369, allocations: 0 / 0.5199 GB, free: 2.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.3691, allocations: 43.91 kB / 0.5199 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.3693, allocations: 198.5 kB / 0.5201 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.3696, allocations: 109.1 kB / 0.5202 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.3697, allocations: 37.7 kB / 0.5202 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.3702, allocations: 153 kB / 0.5204 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3702, allocations: 34.56 kB / 0.5204 GB, free: 1.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3702, allocations: 0 / 0.5204 GB, free: 1.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003544/0.3706, allocations: 113.9 kB / 0.5205 GB, free: 1.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3706, allocations: 81.11 kB / 0.5206 GB, free: 1.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3708, allocations: 137.8 kB / 0.5207 GB, free: 1.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3708, allocations: 25.7 kB / 0.5208 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.3708, allocations: 92.12 kB / 0.5209 GB, free: 1.414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3709, allocations: 27.66 kB / 0.5209 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3709, allocations: 17.72 kB / 0.5209 GB, free: 1.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.371, allocations: 322.8 kB / 0.5212 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.3711, allocations: 19.98 kB / 0.5212 GB, free: 1.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.3712, allocations: 55.34 kB / 0.5213 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3713, allocations: 87.44 kB / 0.5214 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3713, allocations: 3.938 kB / 0.5214 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000248/0.3716, allocations: 109.4 kB / 0.5215 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3716, allocations: 4 kB / 0.5215 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3716, allocations: 4 kB / 0.5215 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3716, allocations: 0 / 0.5215 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.3717, allocations: 20.05 kB / 0.5215 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3717, allocations: 4 kB / 0.5215 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.3718, allocations: 0 / 0.5215 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3718, allocations: 4.875 kB / 0.5215 GB, free: 0.7031 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 6.776e-05/0.3719, allocations: 121.7 kB / 0.5216 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.3719, allocations: 11.84 kB / 0.5216 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3722, allocations: 121.9 kB / 0.5217 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3722, allocations: 0 / 0.5217 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3722, allocations: 4 kB / 0.5218 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.3723, allocations: 93 kB / 0.5218 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3723, allocations: 0 / 0.5218 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.3723, allocations: 0 / 0.5218 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3724, allocations: 14.67 kB / 0.5219 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004413/0.3728, allocations: 272.1 kB / 0.5221 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004093/0.3732, allocations: 378.2 kB / 0.5225 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.803e-05/0.3733, allocations: 28 kB / 0.5225 GB, free: 15.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.982e-05/0.3734, allocations: 123.2 kB / 0.5226 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Backend: time 3.6e-07/0.3734, allocations: 0 / 0.5226 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.3749, allocations: 0.5325 MB / 0.5231 GB, free: 14.97 MB / 462.1 MB Notification: Performance of SimCode: time 0.0006865/0.3756, allocations: 0.7598 MB / 0.5239 GB, free: 14.17 MB / 462.1 MB Notification: Performance of Templates: time 0.01016/0.3858, allocations: 6.354 MB / 0.5301 GB, free: 7.812 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (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) 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) Reference file matches