Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660]
"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.001768/0.001768, allocations: 48.3 kB / 347.6 MB, free: 9.66 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2441, allocations: 49.16 MB / 396.8 MB, free: 9.707 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002353/0.2465, allocations: 1.377 MB / 398.2 MB, free: 8.734 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.1798/0.4263, allocations: 151.3 MB / 0.5366 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.4264, allocations: 4 kB / 0.5366 GB, free: 10.41 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.601e-05/0.4264, allocations: 3.938 kB / 0.5366 GB, free: 10.4 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001448/0.4279, allocations: 370.1 kB / 0.5369 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.4302, allocations: 0.8237 MB / 0.5377 GB, free: 9.219 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001507/0.4304, allocations: 67.7 kB / 0.5378 GB, free: 9.152 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.4304, allocations: 7.938 kB / 0.5378 GB, free: 9.145 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.4305, allocations: 35.84 kB / 0.5378 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.4306, allocations: 35.84 kB / 0.5379 GB, free: 9.074 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4306, allocations: 0 / 0.5379 GB, free: 9.074 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.4336, allocations: 1.493 MB / 0.5393 GB, free: 7.578 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.4336, allocations: 11.98 kB / 0.5393 GB, free: 7.566 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.4337, allocations: 39.78 kB / 0.5394 GB, free: 7.527 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001866/0.4356, allocations: 0.8456 MB / 0.5402 GB, free: 6.68 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4356, allocations: 0 / 0.5402 GB, free: 6.68 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.4356, allocations: 0 / 0.5402 GB, free: 6.68 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.04e-06/0.4356, allocations: 0 / 0.5402 GB, free: 6.68 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.0008275/0.4364, allocations: 416.9 kB / 0.5406 GB, free: 6.242 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4364, allocations: 11.98 kB / 0.5406 GB, free: 6.23 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.4368, allocations: 40.88 kB / 0.5406 GB, free: 6.191 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4369, allocations: 142.3 kB / 0.5408 GB, free: 6.027 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.437, allocations: 12.38 kB / 0.5408 GB, free: 6.016 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.437, allocations: 3.938 kB / 0.5408 GB, free: 6.012 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4372, allocations: 71.39 kB / 0.5409 GB, free: 5.93 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4372, allocations: 0 / 0.5409 GB, free: 5.93 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.4372, allocations: 0 / 0.5409 GB, free: 5.93 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4372, allocations: 0 / 0.5409 GB, free: 5.93 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4373, allocations: 51.84 kB / 0.5409 GB, free: 5.879 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.4376, allocations: 169.6 kB / 0.5411 GB, free: 5.668 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4379, allocations: 109.1 kB / 0.5412 GB, free: 5.543 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.438, allocations: 41.69 kB / 0.5412 GB, free: 5.496 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.4386, allocations: 63.94 kB / 0.5413 GB, free: 5.434 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4386, allocations: 30.56 kB / 0.5413 GB, free: 5.395 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4386, allocations: 0 / 0.5413 GB, free: 5.395 MB / 462.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0004072/0.439, allocations: 117.6 kB / 0.5414 GB, free: 5.273 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.4391, allocations: 81.11 kB / 0.5415 GB, free: 5.176 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4392, allocations: 141.8 kB / 0.5416 GB, free: 5.027 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4392, allocations: 29.7 kB / 0.5417 GB, free: 4.992 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.4393, allocations: 84.14 kB / 0.5417 GB, free: 4.906 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.4394, allocations: 27.75 kB / 0.5418 GB, free: 4.879 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.4394, allocations: 21.7 kB / 0.5418 GB, free: 4.852 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001667/0.4396, allocations: 322.8 kB / 0.5421 GB, free: 4.527 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.4397, allocations: 23.97 kB / 0.5421 GB, free: 4.504 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.4397, allocations: 47.45 kB / 0.5422 GB, free: 4.445 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.4399, allocations: 83.72 kB / 0.5422 GB, free: 4.352 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4399, allocations: 0 / 0.5422 GB, free: 4.352 MB / 462.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002953/0.4402, allocations: 121.4 kB / 0.5424 GB, free: 4.227 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4402, allocations: 4 kB / 0.5424 GB, free: 4.223 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4403, allocations: 4 kB / 0.5424 GB, free: 4.219 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4403, allocations: 0 / 0.5424 GB, free: 4.219 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.4403, allocations: 19.92 kB / 0.5424 GB, free: 4.199 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4404, allocations: 4 kB / 0.5424 GB, free: 4.195 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.41e-05/0.4404, allocations: 8.062 kB / 0.5424 GB, free: 4.188 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4404, allocations: 4 kB / 0.5424 GB, free: 4.184 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.0001174/0.4405, allocations: 121.8 kB / 0.5425 GB, free: 4.055 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.4406, allocations: 7.953 kB / 0.5425 GB, free: 4.047 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.4409, allocations: 114 kB / 0.5426 GB, free: 3.93 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4409, allocations: 0 / 0.5426 GB, free: 3.93 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4409, allocations: 0 / 0.5426 GB, free: 3.93 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4409, allocations: 0 / 0.5426 GB, free: 3.93 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4411, allocations: 168.6 kB / 0.5428 GB, free: 3.723 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4411, allocations: 7.938 kB / 0.5428 GB, free: 3.715 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.4412, allocations: 8 kB / 0.5428 GB, free: 3.707 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4412, allocations: 4 kB / 0.5428 GB, free: 3.703 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4412, allocations: 0 / 0.5428 GB, free: 3.703 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.4412, allocations: 3.984 kB / 0.5428 GB, free: 3.699 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4412, allocations: 0 / 0.5428 GB, free: 3.699 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.4416, allocations: 169.8 kB / 0.543 GB, free: 3.512 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.4416, allocations: 15.91 kB / 0.543 GB, free: 3.496 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4417, allocations: 4 kB / 0.543 GB, free: 3.492 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.4417, allocations: 4 kB / 0.543 GB, free: 3.488 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.4418, allocations: 7.922 kB / 0.543 GB, free: 3.48 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.4418, allocations: 4 kB / 0.543 GB, free: 3.477 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.000179/0.4419, allocations: 107.3 kB / 0.5431 GB, free: 3.371 MB / 462.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4419, allocations: 0 / 0.5431 GB, free: 3.371 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0007806/0.4427, allocations: 207.3 kB / 0.5433 GB, free: 3.168 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.001513/0.4442, allocations: 0.518 MB / 0.5438 GB, free: 2.641 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002335/0.4445, allocations: 64 kB / 0.5439 GB, free: 2.578 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4445, allocations: 0 / 0.5439 GB, free: 2.578 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.4446, allocations: 35.98 kB / 0.5439 GB, free: 2.543 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4448, allocations: 40.05 kB / 0.544 GB, free: 2.504 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.4455, allocations: 299.6 kB / 0.5442 GB, free: 2.18 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.4459, allocations: 0.6885 MB / 0.5449 GB, free: 1.465 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 6.969e-05/0.446, allocations: 23.88 kB / 0.5449 GB, free: 1.441 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.446, allocations: 19.44 kB / 0.545 GB, free: 1.422 MB / 462.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.446, allocations: 0 / 0.545 GB, free: 1.422 MB / 462.1 MB
Notification: Performance of Templates: time 0.01286/0.4589, allocations: 6.138 MB / 0.5509 GB, free: 11.27 MB / 478.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.9863394582644105]