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.001045/0.001046, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.000977/0.0009771, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.333/1.333, allocations: 205.1 MB / 224 MB, free: 12.44 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.001101/0.001101, allocations: 48.47 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07632/0.07743, allocations: 46.64 MB / 326.8 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002257/0.07972, allocations: 1.412 MB / 328.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2833/0.3631, allocations: 148.2 MB / 476.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3632, allocations: 0 / 476.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.3632, allocations: 7.922 kB / 476.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.3641, allocations: 211.8 kB / 476.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.3656, allocations: 0.571 MB / 477.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.3658, allocations: 51.73 kB / 477.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.3658, allocations: 4 kB / 477.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.3659, allocations: 35.84 kB / 477.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.366, allocations: 31.91 kB / 477.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.366, allocations: 4 kB / 477.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.3673, allocations: 0.8109 MB / 478.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3674, allocations: 3.938 kB / 478.1 MB, free: 232 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.3674, allocations: 23.92 kB / 478.1 MB, free: 208 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.3683, allocations: 0.612 MB / 478.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3683, allocations: 4 kB / 478.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3683, allocations: 0 / 478.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3683, allocations: 0 / 478.7 MB, free: 15.59 MB / 382.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.0005622/0.3689, allocations: 455.8 kB / 479.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3689, allocations: 8.031 kB / 479.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.37, allocations: 101.2 kB / 479.3 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3704, allocations: 223.6 kB / 479.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3704, allocations: 7.938 kB / 479.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3704, allocations: 4 kB / 479.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.3707, allocations: 95.27 kB / 479.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3707, allocations: 0.875 kB / 479.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3707, allocations: 4 kB / 479.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3708, allocations: 0 / 479.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3709, allocations: 43.95 kB / 479.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.3712, allocations: 210.7 kB / 479.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.3717, allocations: 129 kB / 480 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3718, allocations: 37.77 kB / 480 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/0.3724, allocations: 0.9901 MB / 481 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3725, allocations: 34.56 kB / 481.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 5.19e-06/0.3725, allocations: 3.984 kB / 481.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005372/0.373, allocations: 129.5 kB / 481.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3731, allocations: 81.05 kB / 481.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3733, allocations: 161.7 kB / 481.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3734, allocations: 29.7 kB / 481.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.3734, allocations: 84.14 kB / 481.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3734, allocations: 19.73 kB / 481.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3735, allocations: 37.55 kB / 481.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3737, allocations: 318.8 kB / 481.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.3738, allocations: 23.98 kB / 481.9 MB, free: 11.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.3739, allocations: 59.27 kB / 482 MB, free: 11.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.3741, allocations: 83.33 kB / 482.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3741, allocations: 3.938 kB / 482.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003309/0.3745, allocations: 113.6 kB / 482.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3745, allocations: 8 kB / 482.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3745, allocations: 7.984 kB / 482.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3745, allocations: 0 / 482.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3747, allocations: 31.91 kB / 482.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3747, allocations: 0 / 482.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.3749, allocations: 4 kB / 482.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.3749, allocations: 11.98 kB / 482.2 MB, free: 11.59 MB / 382.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.994e-05/0.375, allocations: 113.8 kB / 482.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3751, allocations: 15.84 kB / 482.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.3756, allocations: 239.3 kB / 482.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3757, allocations: 0 / 482.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3757, allocations: 0 / 482.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3757, allocations: 4 kB / 482.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.3759, allocations: 227.4 kB / 482.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3759, allocations: 0 / 482.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.3761, allocations: 19.97 kB / 482.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.3761, allocations: 4.516 kB / 482.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3761, allocations: 0 / 482.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3761, allocations: 0 / 482.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3761, allocations: 0.875 kB / 482.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3766, allocations: 181.8 kB / 483 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.3766, allocations: 97.02 kB / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3767, allocations: 0 / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3769, allocations: 11.98 kB / 483.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.3769, allocations: 7.984 kB / 483.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3769, allocations: 5.562 kB / 483.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3771, allocations: 132.9 kB / 483.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3771, allocations: 3.938 kB / 483.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.3777, allocations: 171.9 kB / 483.4 MB, free: 10.29 MB / 382.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007755/0.3785, allocations: 374.5 kB / 483.8 MB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3787, allocations: 83.86 kB / 483.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3788, allocations: 0 / 483.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3789, allocations: 39.97 kB / 483.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.3791, allocations: 28.67 kB / 484 MB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.3797, allocations: 320.1 kB / 484.3 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3799, allocations: 0.6846 MB / 485 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005702/0.3805, allocations: 435 kB / 485.4 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3806, allocations: 35.39 kB / 485.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3806, allocations: 3.938 kB / 485.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of Templates: time 0.009456/0.3901, allocations: 6.1 MB / 491.5 MB, free: 2.141 MB / 382.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/jenkins/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","../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