Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002103/0.002103, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T")
translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 378.7 MB, free: 2.891 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.23, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003181/0.2331, allocations: 1.375 MB / 433.5 MB, free: 5.711 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.3911/0.6243, allocations: 152.1 MB / 0.5718 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.6243, allocations: 0 / 0.5718 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.6243, allocations: 10.28 kB / 0.5718 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008669/0.6252, allocations: 239.3 kB / 0.5721 GB, free: 13.03 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.6263, allocations: 414.6 kB / 0.5725 GB, free: 12.95 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001092/0.6264, allocations: 59.95 kB / 0.5725 GB, free: 12.94 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.6264, allocations: 2 kB / 0.5725 GB, free: 12.94 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.6265, allocations: 24.64 kB / 0.5726 GB, free: 12.94 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.6266, allocations: 31.89 kB / 0.5726 GB, free: 12.93 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.6266, allocations: 6.719 kB / 0.5726 GB, free: 12.93 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.6277, allocations: 0.7037 MB / 0.5733 GB, free: 12.88 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.6277, allocations: 9.453 kB / 0.5733 GB, free: 12.88 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.6278, allocations: 24.48 kB / 0.5733 GB, free: 12.88 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008749/0.6287, allocations: 0.4913 MB / 0.5738 GB, free: 12.85 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6287, allocations: 0 / 0.5738 GB, free: 12.85 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.6287, allocations: 0 / 0.5738 GB, free: 12.85 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.13e-06/0.6287, allocations: 0 / 0.5738 GB, free: 12.85 MB / 462.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.0006536/0.6293, allocations: 369 kB / 0.5741 GB, free: 12.54 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.6294, allocations: 10.38 kB / 0.5742 GB, free: 12.54 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.6308, allocations: 101.8 kB / 0.5743 GB, free: 12.54 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.6311, allocations: 163.2 kB / 0.5744 GB, free: 12.4 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.6311, allocations: 6.938 kB / 0.5744 GB, free: 12.4 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.6311, allocations: 6.219 kB / 0.5744 GB, free: 12.4 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.6313, allocations: 91.91 kB / 0.5745 GB, free: 12.35 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6313, allocations: 0 / 0.5745 GB, free: 12.35 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.6314, allocations: 0 / 0.5745 GB, free: 12.35 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6314, allocations: 8.766 kB / 0.5745 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.6315, allocations: 44.64 kB / 0.5746 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.6318, allocations: 188.3 kB / 0.5747 GB, free: 12.17 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.6323, allocations: 126.1 kB / 0.5749 GB, free: 12.11 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.6324, allocations: 36.53 kB / 0.5749 GB, free: 12.1 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.6326, allocations: 92.47 kB / 0.575 GB, free: 12.09 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.6327, allocations: 46.73 kB / 0.575 GB, free: 12.05 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.6327, allocations: 0 / 0.575 GB, free: 12.05 MB / 462.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0005698/0.6332, allocations: 129.7 kB / 0.5751 GB, free: 12.01 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.6333, allocations: 78.92 kB / 0.5752 GB, free: 11.91 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.6335, allocations: 151.6 kB / 0.5754 GB, free: 11.82 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6336, allocations: 31.64 kB / 0.5754 GB, free: 11.79 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.83e-05/0.6336, allocations: 85.83 kB / 0.5755 GB, free: 11.7 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.6337, allocations: 26.27 kB / 0.5755 GB, free: 11.69 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.6337, allocations: 31.22 kB / 0.5755 GB, free: 11.67 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001588/0.6339, allocations: 318.3 kB / 0.5758 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.634, allocations: 28.23 kB / 0.5759 GB, free: 11.36 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6341, allocations: 51.78 kB / 0.5759 GB, free: 11.32 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.6343, allocations: 84.36 kB / 0.576 GB, free: 11.29 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6343, allocations: 0 / 0.576 GB, free: 11.29 MB / 462.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003515/0.6347, allocations: 126.1 kB / 0.5761 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6347, allocations: 5 kB / 0.5761 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6347, allocations: 2.906 kB / 0.5761 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.6347, allocations: 4 kB / 0.5761 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.6349, allocations: 24.78 kB / 0.5762 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6349, allocations: 2.938 kB / 0.5762 GB, free: 11.24 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.6351, allocations: 14.94 kB / 0.5762 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.6351, allocations: 6.391 kB / 0.5762 GB, free: 11.23 MB / 462.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.000113/0.6352, allocations: 115.7 kB / 0.5763 GB, free: 11.12 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.6353, allocations: 8.25 kB / 0.5763 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.6359, allocations: 259.2 kB / 0.5765 GB, free: 11.06 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.6359, allocations: 6.25 kB / 0.5765 GB, free: 11.05 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6359, allocations: 0 / 0.5765 GB, free: 11.05 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6359, allocations: 0 / 0.5765 GB, free: 11.05 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.6361, allocations: 201.3 kB / 0.5767 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6361, allocations: 1.203 kB / 0.5767 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.6363, allocations: 25.14 kB / 0.5768 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.6363, allocations: 0 / 0.5768 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6363, allocations: 5.312 kB / 0.5768 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6363, allocations: 0 / 0.5768 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6363, allocations: 0 / 0.5768 GB, free: 10.88 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.6368, allocations: 181.2 kB / 0.5769 GB, free: 10.8 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.6368, allocations: 23.2 kB / 0.577 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/0.6369, allocations: 2.719 kB / 0.577 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6371, allocations: 5.781 kB / 0.577 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6371, allocations: 4.641 kB / 0.577 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6372, allocations: 7.906 kB / 0.577 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0001763/0.6373, allocations: 125.9 kB / 0.5771 GB, free: 10.71 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.6373, allocations: 0 / 0.5771 GB, free: 10.71 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0005329/0.6379, allocations: 137.6 kB / 0.5772 GB, free: 10.69 MB / 462.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.0006767/0.6385, allocations: 306.9 kB / 0.5775 GB, free: 10.56 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003059/0.6388, allocations: 82.14 kB / 0.5776 GB, free: 10.55 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6388, allocations: 0 / 0.5776 GB, free: 10.55 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.639, allocations: 37.48 kB / 0.5776 GB, free: 10.55 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.6392, allocations: 14.8 kB / 0.5777 GB, free: 10.55 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.6398, allocations: 298 kB / 0.5779 GB, free: 10.33 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6402, allocations: 0.686 MB / 0.5786 GB, free: 9.633 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0005108/0.6407, allocations: 434.5 kB / 0.579 GB, free: 9.586 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6408, allocations: 46.64 kB / 0.5791 GB, free: 9.574 MB / 462.1 MB
Notification: Performance of SimCode: time 5.31e-07/0.6408, allocations: 0 / 0.5791 GB, free: 9.574 MB / 462.1 MB
Notification: Performance of Templates: time 0.009886/0.6507, allocations: 5.293 MB / 0.5842 GB, free: 7.398 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.876495591364801]