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.001984/0.001984, allocations: 107.1 kB / 19.76 MB, free: 2.551 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.002674/0.002674, allocations: 190.8 kB / 22.93 MB, free: 5.582 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.375/1.375, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.001651/0.001651, allocations: 51.92 kB / 345.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 49.12 MB / 394.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002407/0.2423, allocations: 1.379 MB / 395.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.182/0.4243, allocations: 151.3 MB / 0.5343 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.4244, allocations: 0 / 0.5343 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.769e-05/0.4244, allocations: 3.938 kB / 0.5343 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.4257, allocations: 358.5 kB / 0.5347 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.4279, allocations: 0.8034 MB / 0.5355 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.4281, allocations: 75.64 kB / 0.5355 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.4281, allocations: 11.64 kB / 0.5355 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.4282, allocations: 31.86 kB / 0.5356 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.4283, allocations: 39.83 kB / 0.5356 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.4283, allocations: 0 / 0.5356 GB, free: 9.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.431, allocations: 1.457 MB / 0.537 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.431, allocations: 11.97 kB / 0.537 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.4311, allocations: 31.86 kB / 0.5371 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.4326, allocations: 0.8571 MB / 0.5379 GB, free: 7.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4326, allocations: 4 kB / 0.5379 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4326, allocations: 0 / 0.5379 GB, free: 7.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4327, allocations: 0 / 0.5379 GB, free: 7.02 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.0007056/0.4334, allocations: 486.1 kB / 0.5384 GB, free: 6.496 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4334, allocations: 8.031 kB / 0.5384 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.4337, allocations: 36.89 kB / 0.5384 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.4339, allocations: 200.2 kB / 0.5386 GB, free: 6.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4339, allocations: 4.375 kB / 0.5386 GB, free: 6.215 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4339, allocations: 3.938 kB / 0.5386 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.4341, allocations: 79.33 kB / 0.5387 GB, free: 6.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.4341, allocations: 4 kB / 0.5387 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4341, allocations: 0 / 0.5387 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4341, allocations: 0 / 0.5387 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4342, allocations: 43.97 kB / 0.5387 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.4345, allocations: 190.5 kB / 0.5389 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.4348, allocations: 125 kB / 0.539 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.4349, allocations: 29.77 kB / 0.5391 GB, free: 5.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.4355, allocations: 153 kB / 0.5392 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4355, allocations: 30.56 kB / 0.5392 GB, free: 5.453 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4355, allocations: 0 / 0.5392 GB, free: 5.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003666/0.4358, allocations: 117.6 kB / 0.5394 GB, free: 5.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.4359, allocations: 77.11 kB / 0.5394 GB, free: 5.238 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.436, allocations: 141.8 kB / 0.5396 GB, free: 5.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.4361, allocations: 25.7 kB / 0.5396 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.4361, allocations: 92.12 kB / 0.5397 GB, free: 4.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4361, allocations: 27.69 kB / 0.5397 GB, free: 4.938 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.4362, allocations: 21.72 kB / 0.5397 GB, free: 4.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4363, allocations: 318.8 kB / 0.54 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.4364, allocations: 31.98 kB / 0.5401 GB, free: 4.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.4365, allocations: 47.44 kB / 0.5401 GB, free: 4.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.4367, allocations: 83.34 kB / 0.5402 GB, free: 4.406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4367, allocations: 4 kB / 0.5402 GB, free: 4.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002517/0.4369, allocations: 109.5 kB / 0.5403 GB, free: 4.289 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4369, allocations: 4 kB / 0.5403 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4369, allocations: 0 / 0.5403 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4369, allocations: 4 kB / 0.5403 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.437, allocations: 15.98 kB / 0.5403 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.437, allocations: 3.938 kB / 0.5403 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.4371, allocations: 4 kB / 0.5403 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.4371, allocations: 15.94 kB / 0.5403 GB, free: 4.242 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 8.221e-05/0.4372, allocations: 121.8 kB / 0.5405 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.4372, allocations: 7.953 kB / 0.5405 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.4375, allocations: 118.3 kB / 0.5406 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4375, allocations: 4 kB / 0.5406 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4375, allocations: 0 / 0.5406 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4375, allocations: 0 / 0.5406 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.4377, allocations: 181.6 kB / 0.5407 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4377, allocations: 0 / 0.5407 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.4377, allocations: 19.98 kB / 0.5408 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4377, allocations: 0 / 0.5408 GB, free: 3.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.4378, allocations: 4 kB / 0.5408 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4378, allocations: 0 / 0.5408 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4378, allocations: 0 / 0.5408 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.4381, allocations: 174 kB / 0.5409 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.4382, allocations: 93.06 kB / 0.541 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4382, allocations: 7.984 kB / 0.541 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.4383, allocations: 0 / 0.541 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4383, allocations: 11.94 kB / 0.541 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4383, allocations: 0 / 0.541 GB, free: 3.406 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.167e-05/0.4384, allocations: 115.2 kB / 0.5412 GB, free: 3.293 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4384, allocations: 0 / 0.5412 GB, free: 3.293 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.439, allocations: 207.3 kB / 0.5414 GB, free: 3.09 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.001191/0.4402, allocations: 0.5334 MB / 0.5419 GB, free: 2.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4404, allocations: 55.95 kB / 0.5419 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4404, allocations: 7.938 kB / 0.5419 GB, free: 2.484 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.4405, allocations: 27.98 kB / 0.542 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.4407, allocations: 31.97 kB / 0.542 GB, free: 2.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.4413, allocations: 315.1 kB / 0.5423 GB, free: 2.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4416, allocations: 0.6885 MB / 0.543 GB, free: 1.371 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.4417, allocations: 19.89 kB / 0.543 GB, free: 1.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.4417, allocations: 15.44 kB / 0.543 GB, free: 1.336 MB / 462.1 MB Notification: Performance of SimCode: time 4.8e-07/0.4417, allocations: 0 / 0.543 GB, free: 1.336 MB / 462.1 MB Notification: Performance of Templates: time 0.01162/0.4533, allocations: 6.13 MB / 0.549 GB, free: 11.2 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.974921429529786]