Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.5 kB / 18.4 MB, free: 4.523 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.001105/0.001105, allocations: 187 kB / 19.34 MB, free: 3.602 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.267/1.267, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001167/0.001167, allocations: 47.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07038/0.07156, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002254/0.07384, allocations: 1.357 MB / 377.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2892/0.3631, allocations: 150.4 MB / 0.5152 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3632, allocations: 0 / 0.5152 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.3633, allocations: 7.922 kB / 0.5152 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008331/0.3641, allocations: 234.8 kB / 0.5154 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.3657, allocations: 0.64 MB / 0.516 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.3658, allocations: 53.55 kB / 0.5161 GB, free: 6.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.3659, allocations: 7.984 kB / 0.5161 GB, free: 6.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.3659, allocations: 23.92 kB / 0.5161 GB, free: 6.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.366, allocations: 27.91 kB / 0.5161 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.366, allocations: 4 kB / 0.5161 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.3675, allocations: 0.885 MB / 0.517 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.3676, allocations: 7.984 kB / 0.517 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.3676, allocations: 23.86 kB / 0.517 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3687, allocations: 0.6042 MB / 0.5176 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3687, allocations: 0 / 0.5176 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3687, allocations: 0 / 0.5176 GB, free: 4.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3688, allocations: 0 / 0.5176 GB, free: 4.93 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.0006207/0.3694, allocations: 451.9 kB / 0.5181 GB, free: 4.441 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3694, allocations: 8.031 kB / 0.5181 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.3706, allocations: 96.7 kB / 0.5182 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3709, allocations: 220.5 kB / 0.5184 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3709, allocations: 3.938 kB / 0.5184 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.371, allocations: 11.94 kB / 0.5184 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3712, allocations: 91.27 kB / 0.5185 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3712, allocations: 0 / 0.5185 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3712, allocations: 3.938 kB / 0.5185 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3712, allocations: 8 kB / 0.5185 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3714, allocations: 39.95 kB / 0.5185 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.3717, allocations: 206.8 kB / 0.5187 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.3722, allocations: 129.1 kB / 0.5188 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3723, allocations: 41.69 kB / 0.5189 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.3729, allocations: 0.9901 MB / 0.5198 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.373, allocations: 34.5 kB / 0.5199 GB, free: 2.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.373, allocations: 4 kB / 0.5199 GB, free: 2.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005153/0.3735, allocations: 125.9 kB / 0.52 GB, free: 2.086 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.3735, allocations: 85.05 kB / 0.5201 GB, free: 1.984 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3738, allocations: 157.8 kB / 0.5202 GB, free: 1.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3738, allocations: 25.7 kB / 0.5203 GB, free: 1.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.3738, allocations: 88.14 kB / 0.5203 GB, free: 1.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.3739, allocations: 19.66 kB / 0.5204 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.3739, allocations: 29.69 kB / 0.5204 GB, free: 1.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3741, allocations: 322.8 kB / 0.5207 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.3742, allocations: 23.98 kB / 0.5207 GB, free: 1.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3743, allocations: 51.41 kB / 0.5208 GB, free: 1.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.3746, allocations: 87.33 kB / 0.5208 GB, free: 1.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3746, allocations: 4 kB / 0.5209 GB, free: 1.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003609/0.375, allocations: 117.4 kB / 0.521 GB, free: 1.012 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.375, allocations: 8 kB / 0.521 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.375, allocations: 0 / 0.521 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.375, allocations: 4.875 kB / 0.521 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3752, allocations: 27.91 kB / 0.521 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3752, allocations: 7.984 kB / 0.521 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.3754, allocations: 4 kB / 0.521 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3754, allocations: 16.05 kB / 0.521 GB, free: 0.9453 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 7.61e-05/0.3755, allocations: 109.8 kB / 0.5211 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.3756, allocations: 11.91 kB / 0.5211 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000563/0.3761, allocations: 236.6 kB / 0.5214 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3761, allocations: 7.922 kB / 0.5214 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3762, allocations: 0 / 0.5214 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.3762, allocations: 96.94 kB / 0.5215 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3763, allocations: 4 kB / 0.5215 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3765, allocations: 11.98 kB / 0.5215 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3766, allocations: 11.92 kB / 0.5215 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005439/0.3771, allocations: 284.1 kB / 0.5218 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005168/0.3777, allocations: 394.4 kB / 0.5221 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001135/0.3778, allocations: 40.17 kB / 0.5222 GB, free: 15.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.378, allocations: 131.3 kB / 0.5223 GB, free: 15.58 MB / 462.1 MB Notification: Performance of Backend: time 2.9e-07/0.378, allocations: 0 / 0.5223 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.3793, allocations: 433.5 kB / 0.5227 GB, free: 15.16 MB / 462.1 MB Notification: Performance of SimCode: time 0.0007103/0.38, allocations: 0.7497 MB / 0.5235 GB, free: 14.37 MB / 462.1 MB Notification: Performance of Templates: time 0.01017/0.3902, allocations: 6.398 MB / 0.5297 GB, free: 7.969 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches