Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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.001888/0.001888, allocations: 106.5 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.002353/0.002353, allocations: 213.3 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.505/1.505, allocations: 230.3 MB / 258 MB, free: 8.262 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX")
translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 378.8 MB, free: 2.781 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.274, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002574/0.2765, allocations: 1.382 MB / 433.5 MB, free: 5.691 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.3841/0.6606, allocations: 152.4 MB / 0.5722 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.6607, allocations: 0 / 0.5722 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.6607, allocations: 2.578 kB / 0.5722 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001139/0.6619, allocations: 387.5 kB / 0.5725 GB, free: 13.02 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.663, allocations: 0.5249 MB / 0.5731 GB, free: 12.93 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001064/0.6631, allocations: 77.42 kB / 0.5731 GB, free: 12.91 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.6631, allocations: 6.375 kB / 0.5731 GB, free: 12.9 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.6632, allocations: 33.62 kB / 0.5732 GB, free: 12.9 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.6633, allocations: 35.59 kB / 0.5732 GB, free: 12.9 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.6633, allocations: 2.812 kB / 0.5732 GB, free: 12.9 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.665, allocations: 1.157 MB / 0.5743 GB, free: 12.79 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.6651, allocations: 15.16 kB / 0.5744 GB, free: 12.79 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.6651, allocations: 27.66 kB / 0.5744 GB, free: 12.79 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001096/0.6662, allocations: 0.7001 MB / 0.5751 GB, free: 12.74 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6662, allocations: 0 / 0.5751 GB, free: 12.74 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.6662, allocations: 0 / 0.5751 GB, free: 12.74 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.59e-06/0.6662, allocations: 0 / 0.5751 GB, free: 12.74 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.0006879/0.6669, allocations: 386.7 kB / 0.5754 GB, free: 12.41 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.6669, allocations: 7.844 kB / 0.5754 GB, free: 12.41 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.6674, allocations: 75.59 kB / 0.5755 GB, free: 12.41 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.6676, allocations: 137.9 kB / 0.5756 GB, free: 12.27 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6676, allocations: 10.62 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.6676, allocations: 11.41 kB / 0.5757 GB, free: 12.26 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.6678, allocations: 73 kB / 0.5757 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.6678, allocations: 0 / 0.5757 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.6678, allocations: 3.688 kB / 0.5757 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6678, allocations: 2.781 kB / 0.5757 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.6679, allocations: 34.34 kB / 0.5758 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.6681, allocations: 173 kB / 0.5759 GB, free: 12.04 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.6684, allocations: 109.9 kB / 0.576 GB, free: 11.99 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.531e-05/0.6685, allocations: 37.69 kB / 0.5761 GB, free: 11.98 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/0.6689, allocations: 60.42 kB / 0.5761 GB, free: 11.97 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.669, allocations: 37.62 kB / 0.5762 GB, free: 11.93 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.669, allocations: 2.188 kB / 0.5762 GB, free: 11.93 MB / 462.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003542/0.6693, allocations: 123.9 kB / 0.5763 GB, free: 11.89 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.6694, allocations: 77.11 kB / 0.5764 GB, free: 11.79 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.6695, allocations: 145.1 kB / 0.5765 GB, free: 11.69 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.6695, allocations: 29.64 kB / 0.5765 GB, free: 11.66 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.6696, allocations: 89.45 kB / 0.5766 GB, free: 11.57 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.6696, allocations: 20.14 kB / 0.5766 GB, free: 11.56 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.6696, allocations: 26.92 kB / 0.5767 GB, free: 11.54 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.000151/0.6698, allocations: 320.6 kB / 0.577 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.6699, allocations: 21.91 kB / 0.577 GB, free: 11.23 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.6699, allocations: 47.72 kB / 0.577 GB, free: 11.2 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6701, allocations: 88.12 kB / 0.5771 GB, free: 11.16 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6701, allocations: 7.938 kB / 0.5771 GB, free: 11.15 MB / 462.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.6703, allocations: 103.8 kB / 0.5772 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6703, allocations: 13.34 kB / 0.5772 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6704, allocations: 0 / 0.5772 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6704, allocations: 0 / 0.5772 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.6705, allocations: 18.02 kB / 0.5773 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6705, allocations: 3.062 kB / 0.5773 GB, free: 11.11 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.258e-05/0.6705, allocations: 7.078 kB / 0.5773 GB, free: 11.1 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.6705, allocations: 9.016 kB / 0.5773 GB, free: 11.1 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 9.125e-05/0.6706, allocations: 118.5 kB / 0.5774 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.6707, allocations: 2.781 kB / 0.5774 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.6709, allocations: 114.1 kB / 0.5775 GB, free: 10.93 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6709, allocations: 1.203 kB / 0.5775 GB, free: 10.93 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6709, allocations: 0 / 0.5775 GB, free: 10.93 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6709, allocations: 2.188 kB / 0.5775 GB, free: 10.93 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.6711, allocations: 158.1 kB / 0.5777 GB, free: 10.78 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6711, allocations: 4.688 kB / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.6711, allocations: 18.66 kB / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6712, allocations: 2.812 kB / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.6712, allocations: 0 / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.6712, allocations: 4 kB / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6712, allocations: 2.094 kB / 0.5777 GB, free: 10.77 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.6715, allocations: 162.8 kB / 0.5778 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.6715, allocations: 15.95 kB / 0.5779 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.6715, allocations: 0 / 0.5779 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/0.6716, allocations: 4.047 kB / 0.5779 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.6716, allocations: 12.52 kB / 0.5779 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6716, allocations: 2.812 kB / 0.5779 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 7.907e-05/0.6717, allocations: 112.4 kB / 0.578 GB, free: 10.6 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.6717, allocations: 0 / 0.578 GB, free: 10.6 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0005085/0.6722, allocations: 169.5 kB / 0.5781 GB, free: 10.57 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 (6):
 * Single equations (assignments): 6
 * 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 Backend phase and start with SimCode phase: time 0.0008219/0.673, allocations: 416.4 kB / 0.5785 GB, free: 10.42 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001957/0.6732, allocations: 59.72 kB / 0.5786 GB, free: 10.42 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6732, allocations: 7.25 kB / 0.5786 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.6733, allocations: 27.28 kB / 0.5786 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.6736, allocations: 28.28 kB / 0.5787 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.6741, allocations: 324.1 kB / 0.579 GB, free: 10.16 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.6744, allocations: 0.6888 MB / 0.5796 GB, free: 9.469 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 5.41e-05/0.6745, allocations: 21.88 kB / 0.5797 GB, free: 9.457 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.6745, allocations: 15.19 kB / 0.5797 GB, free: 9.449 MB / 462.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.6745, allocations: 0 / 0.5797 GB, free: 9.449 MB / 462.1 MB
Notification: Performance of Templates: time 0.008618/0.6831, allocations: 4.77 MB / 0.5843 GB, free: 7.766 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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: 5.109841775149107]