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.001272/0.001272, allocations: 102.2 kB / 18.4 MB, free: 4.656 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.001229/0.001229, allocations: 188.3 kB / 19.34 MB, free: 3.734 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.244/1.244, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.0012/0.0012, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0692/0.07041, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002037/0.07247, allocations: 1.353 MB / 377.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2822/0.3547, allocations: 150.4 MB / 0.5152 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.906e-05/0.3548, allocations: 0 / 0.5152 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.3549, allocations: 3.938 kB / 0.5152 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.3556, allocations: 234.8 kB / 0.5154 GB, free: 7.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.357, allocations: 0.628 MB / 0.516 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.3571, allocations: 59.67 kB / 0.5161 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.3572, allocations: 3.984 kB / 0.5161 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.3572, allocations: 27.86 kB / 0.5161 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.3573, allocations: 31.91 kB / 0.5161 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3573, allocations: 3.984 kB / 0.5161 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.3587, allocations: 0.8772 MB / 0.517 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.3587, allocations: 11.97 kB / 0.517 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.3588, allocations: 23.88 kB / 0.517 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.3596, allocations: 0.6042 MB / 0.5176 GB, free: 5.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3596, allocations: 0 / 0.5176 GB, free: 5.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.3596, allocations: 0 / 0.5176 GB, free: 5.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3596, allocations: 0 / 0.5176 GB, free: 5.125 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.000497/0.3601, allocations: 447.9 kB / 0.518 GB, free: 4.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.3602, allocations: 8.031 kB / 0.5181 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3612, allocations: 100.7 kB / 0.5182 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3615, allocations: 220.5 kB / 0.5184 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3615, allocations: 7.875 kB / 0.5184 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3615, allocations: 4 kB / 0.5184 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3617, allocations: 95.27 kB / 0.5185 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3618, allocations: 0 / 0.5185 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3618, allocations: 0 / 0.5185 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3618, allocations: 4 kB / 0.5185 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.362, allocations: 51.89 kB / 0.5185 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.3622, allocations: 206.8 kB / 0.5187 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.3627, allocations: 129 kB / 0.5188 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3628, allocations: 33.75 kB / 0.5189 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.3634, allocations: 0.9901 MB / 0.5198 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3634, allocations: 30.56 kB / 0.5199 GB, free: 2.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3634, allocations: 0 / 0.5199 GB, free: 2.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.3639, allocations: 129.9 kB / 0.52 GB, free: 2.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3639, allocations: 85.11 kB / 0.5201 GB, free: 2.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3642, allocations: 159 kB / 0.5202 GB, free: 2.023 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3642, allocations: 25.7 kB / 0.5202 GB, free: 1.992 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.3642, allocations: 80.14 kB / 0.5203 GB, free: 1.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3643, allocations: 27.64 kB / 0.5203 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/0.3643, allocations: 33.69 kB / 0.5204 GB, free: 1.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.3644, allocations: 314.8 kB / 0.5207 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3645, allocations: 31.98 kB / 0.5207 GB, free: 1.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3647, allocations: 55.34 kB / 0.5208 GB, free: 1.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.3649, allocations: 83.36 kB / 0.5208 GB, free: 1.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3649, allocations: 8 kB / 0.5209 GB, free: 1.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003553/0.3653, allocations: 121.4 kB / 0.521 GB, free: 1.203 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3653, allocations: 4 kB / 0.521 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3653, allocations: 4 kB / 0.521 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3653, allocations: 0 / 0.521 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3655, allocations: 27.97 kB / 0.521 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3655, allocations: 3.984 kB / 0.521 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3657, allocations: 8.062 kB / 0.521 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3657, allocations: 7.984 kB / 0.521 GB, free: 1.148 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 8.231e-05/0.3658, allocations: 121.7 kB / 0.5211 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.3658, allocations: 3.906 kB / 0.5211 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/0.3664, allocations: 235.3 kB / 0.5214 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3664, allocations: 7.984 kB / 0.5214 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3664, allocations: 3.938 kB / 0.5214 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3665, allocations: 92.94 kB / 0.5215 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.3665, allocations: 4 kB / 0.5215 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.3667, allocations: 7.984 kB / 0.5215 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3668, allocations: 14.73 kB / 0.5215 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005333/0.3673, allocations: 288 kB / 0.5218 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004963/0.3678, allocations: 397.9 kB / 0.5221 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001192/0.368, allocations: 40.03 kB / 0.5222 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001569/0.3681, allocations: 132.9 kB / 0.5223 GB, free: 15.78 MB / 462.1 MB Notification: Performance of Backend: time 2.6e-07/0.3682, allocations: 0 / 0.5223 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3694, allocations: 416.2 kB / 0.5227 GB, free: 15.37 MB / 462.1 MB Notification: Performance of SimCode: time 0.0006992/0.3701, allocations: 0.7566 MB / 0.5234 GB, free: 14.57 MB / 462.1 MB Notification: Performance of Templates: time 0.009911/0.38, allocations: 6.464 MB / 0.5298 GB, free: 8.102 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