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.001089/0.001089, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001049/0.001049, allocations: 193.8 kB / 18.86 MB, free: 4.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.373/1.373, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001352/0.001352, allocations: 51.92 kB / 280.8 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1009, allocations: 46.63 MB / 327.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00259/0.1035, allocations: 1.42 MB / 328.8 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3458/0.4494, allocations: 148.2 MB / 477 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.4495, allocations: 0 / 477 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.4496, allocations: 3.984 kB / 477 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.4508, allocations: 217.9 kB / 477.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.4527, allocations: 0.5748 MB / 477.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.4528, allocations: 51.73 kB / 477.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.4529, allocations: 0 / 477.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.4529, allocations: 27.91 kB / 477.9 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4531, allocations: 35.84 kB / 477.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.4531, allocations: 2.344 kB / 477.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.4547, allocations: 0.8032 MB / 478.7 MB, free: 108 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.4548, allocations: 7.922 kB / 478.7 MB, free: 100 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.4549, allocations: 31.86 kB / 478.8 MB, free: 68 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.4556, allocations: 415.2 kB / 479.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4556, allocations: 0 / 479.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4556, allocations: 3.938 kB / 479.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4556, allocations: 0 / 479.2 MB, free: 15.66 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.0006739/0.4563, allocations: 455.9 kB / 479.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4563, allocations: 8.031 kB / 479.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4576, allocations: 105.1 kB / 479.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4579, allocations: 220.4 kB / 480 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.458, allocations: 3.938 kB / 480 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.458, allocations: 8 kB / 480 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.4583, allocations: 83.33 kB / 480.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.4584, allocations: 0 / 480.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.4584, allocations: 8 kB / 480.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4584, allocations: 4 kB / 480.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.4586, allocations: 47.88 kB / 480.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.4591, allocations: 210.7 kB / 480.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/0.4597, allocations: 141.1 kB / 480.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.4598, allocations: 33.7 kB / 480.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/0.4606, allocations: 0.9823 MB / 481.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.322e-05/0.4607, allocations: 38.56 kB / 481.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.4607, allocations: 0 / 481.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006085/0.4613, allocations: 130.8 kB / 481.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.4614, allocations: 77.11 kB / 481.7 MB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.4616, allocations: 161.7 kB / 481.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.4617, allocations: 25.7 kB / 481.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.4617, allocations: 88.14 kB / 482 MB, free: 12.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4618, allocations: 19.73 kB / 482 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.4618, allocations: 33.61 kB / 482 MB, free: 12.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.462, allocations: 322.8 kB / 482.3 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4621, allocations: 23.97 kB / 482.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.4623, allocations: 51.36 kB / 482.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.4626, allocations: 87.33 kB / 482.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4626, allocations: 3.938 kB / 482.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000385/0.463, allocations: 122.4 kB / 482.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.463, allocations: 4 kB / 482.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.463, allocations: 3.938 kB / 482.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.463, allocations: 4 kB / 482.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.4632, allocations: 23.97 kB / 482.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4632, allocations: 4 kB / 482.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4634, allocations: 8.062 kB / 482.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.4634, allocations: 11.98 kB / 482.7 MB, free: 11.66 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 0.0001188/0.4635, allocations: 117.7 kB / 482.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.4636, allocations: 10.19 kB / 482.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007039/0.4643, allocations: 243.3 kB / 483 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4643, allocations: 4 kB / 483.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4643, allocations: 0 / 483.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4643, allocations: 0 / 483.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4646, allocations: 227.4 kB / 483.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4646, allocations: 0 / 483.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.4648, allocations: 23.91 kB / 483.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4648, allocations: 0 / 483.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4648, allocations: 8 kB / 483.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4649, allocations: 4 kB / 483.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4649, allocations: 3.938 kB / 483.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.4653, allocations: 173.8 kB / 483.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-05/0.4654, allocations: 93 kB / 483.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.4655, allocations: 0 / 483.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.4657, allocations: 16.05 kB / 483.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.4658, allocations: 7.984 kB / 483.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4659, allocations: 0 / 483.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.466, allocations: 132.1 kB / 483.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4661, allocations: 0 / 483.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006114/0.4667, allocations: 171.9 kB / 483.9 MB, free: 10.36 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.001009/0.4677, allocations: 399.6 kB / 484.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.468, allocations: 79.86 kB / 484.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4681, allocations: 0 / 484.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4682, allocations: 35.92 kB / 484.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4684, allocations: 26.23 kB / 484.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.4691, allocations: 344.3 kB / 484.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.4694, allocations: 0.6885 MB / 485.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.4696, allocations: 39.39 kB / 485.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of SimCode: time 2.134e-06/0.4696, allocations: 0 / 485.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of Templates: time 0.008254/0.4778, allocations: 4.69 MB / 490.2 MB, free: 4.004 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/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","../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