Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001323/0.001323, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.00142/0.00142, allocations: 188.3 kB / 21.39 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.89 kB / 366.8 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1041, allocations: 52.13 MB / 418.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002572/0.1066, allocations: 1.383 MB / 420.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3716/0.4782, allocations: 149.5 MB / 0.5565 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.4782, allocations: 0 / 0.5565 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.4783, allocations: 3.938 kB / 0.5565 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.4795, allocations: 385.2 kB / 0.5568 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.4808, allocations: 0.5094 MB / 0.5573 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.481, allocations: 71.7 kB / 0.5574 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.481, allocations: 4 kB / 0.5574 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.4811, allocations: 31.86 kB / 0.5574 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.4812, allocations: 35.83 kB / 0.5575 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.4812, allocations: 4 kB / 0.5575 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.4831, allocations: 1.122 MB / 0.5586 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.4832, allocations: 15.98 kB / 0.5586 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.4832, allocations: 27.86 kB / 0.5586 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4843, allocations: 0.6872 MB / 0.5593 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4843, allocations: 0 / 0.5593 GB, free: 12.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4843, allocations: 0 / 0.5593 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4843, allocations: 0 / 0.5593 GB, free: 12.39 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.0006472/0.4849, allocations: 470.2 kB / 0.5597 GB, free: 11.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.485, allocations: 12.03 kB / 0.5597 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004774/0.4854, allocations: 72.73 kB / 0.5598 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.4856, allocations: 196.5 kB / 0.56 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.4856, allocations: 13.66 kB / 0.56 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.4857, allocations: 4 kB / 0.56 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4858, allocations: 71.38 kB / 0.5601 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.4858, allocations: 0 / 0.5601 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4859, allocations: 4 kB / 0.5601 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4859, allocations: 0 / 0.5601 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.486, allocations: 43.91 kB / 0.5601 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.4862, allocations: 194.5 kB / 0.5603 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.4865, allocations: 125 kB / 0.5604 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.4866, allocations: 33.77 kB / 0.5605 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.4872, allocations: 137 kB / 0.5606 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4872, allocations: 30.56 kB / 0.5606 GB, free: 10.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4872, allocations: 4 kB / 0.5606 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003856/0.4876, allocations: 121.5 kB / 0.5607 GB, free: 10.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.4876, allocations: 77.11 kB / 0.5608 GB, free: 10.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.4878, allocations: 143 kB / 0.561 GB, free: 10.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4878, allocations: 25.7 kB / 0.561 GB, free: 10.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.4879, allocations: 91.8 kB / 0.5611 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.4879, allocations: 23.84 kB / 0.5611 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.4879, allocations: 21.72 kB / 0.5611 GB, free: 10.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4881, allocations: 322.8 kB / 0.5614 GB, free: 9.949 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.68e-05/0.4881, allocations: 19.98 kB / 0.5614 GB, free: 9.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.367e-05/0.4882, allocations: 51.36 kB / 0.5615 GB, free: 9.867 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4884, allocations: 79.41 kB / 0.5616 GB, free: 9.777 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4884, allocations: 3.938 kB / 0.5616 GB, free: 9.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002639/0.4886, allocations: 113.5 kB / 0.5617 GB, free: 9.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4887, allocations: 7.984 kB / 0.5617 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4887, allocations: 0 / 0.5617 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4887, allocations: 4 kB / 0.5617 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.4887, allocations: 12 kB / 0.5617 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4888, allocations: 4.062 kB / 0.5617 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.4888, allocations: 7.938 kB / 0.5617 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4888, allocations: 7.984 kB / 0.5617 GB, free: 9.613 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.343e-05/0.4889, allocations: 125.7 kB / 0.5618 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.489, allocations: 7.953 kB / 0.5618 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.4892, allocations: 111.9 kB / 0.562 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4892, allocations: 4 kB / 0.562 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4892, allocations: 0 / 0.562 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4892, allocations: 7.984 kB / 0.562 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4894, allocations: 186.3 kB / 0.5621 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4894, allocations: 0 / 0.5621 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.871e-05/0.4895, allocations: 15.98 kB / 0.5622 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4895, allocations: 0 / 0.5622 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4895, allocations: 0.5 kB / 0.5622 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4895, allocations: 4 kB / 0.5622 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4895, allocations: 0 / 0.5622 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.4898, allocations: 170.7 kB / 0.5623 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.4899, allocations: 85.05 kB / 0.5624 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4899, allocations: 4 kB / 0.5624 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.918e-05/0.49, allocations: 4 kB / 0.5624 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.49, allocations: 7.984 kB / 0.5624 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-06/0.49, allocations: 0.5 kB / 0.5624 GB, free: 8.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.4901, allocations: 116.3 kB / 0.5625 GB, free: 8.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4901, allocations: 4.062 kB / 0.5625 GB, free: 8.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005714/0.4907, allocations: 163.4 kB / 0.5627 GB, free: 8.516 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.001023/0.4917, allocations: 440.6 kB / 0.5631 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4919, allocations: 59.89 kB / 0.5632 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4919, allocations: 4 kB / 0.5632 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.492, allocations: 31.92 kB / 0.5632 GB, free: 7.992 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.4922, allocations: 37.62 kB / 0.5632 GB, free: 7.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.4928, allocations: 320.8 kB / 0.5635 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4931, allocations: 0.6924 MB / 0.5642 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.4932, allocations: 15.44 kB / 0.5642 GB, free: 6.883 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4932, allocations: 0 / 0.5642 GB, free: 6.883 MB / 462.1 MB Notification: Performance of Templates: time 0.006937/0.5001, allocations: 4.02 MB / 0.5682 GB, free: 2.879 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.35757376626134]