Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.001613/0.001613, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001932/0.001932, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.464/1.464, allocations: 225.6 MB / 249.8 MB, free: 3.613 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09819, allocations: 52.14 MB / 418.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00252/0.1007, allocations: 1.371 MB / 420.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.4037/0.5044, allocations: 149.2 MB / 0.5561 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.5044, allocations: 0 / 0.5561 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.5045, allocations: 3.938 kB / 0.5561 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008976/0.5054, allocations: 243.6 kB / 0.5564 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.5064, allocations: 405.4 kB / 0.5567 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.5065, allocations: 55.3 kB / 0.5568 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.5065, allocations: 3.984 kB / 0.5568 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.5066, allocations: 23.92 kB / 0.5568 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.056e-05/0.5066, allocations: 31.84 kB / 0.5569 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.5067, allocations: 4 kB / 0.5569 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.5079, allocations: 0.6862 MB / 0.5575 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.5079, allocations: 11.94 kB / 0.5575 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.508, allocations: 19.92 kB / 0.5576 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.5088, allocations: 0.4885 MB / 0.558 GB, free: 13.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5088, allocations: 0 / 0.558 GB, free: 13.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5088, allocations: 7.938 kB / 0.558 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.5088, allocations: 0 / 0.558 GB, free: 13.43 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.0006545/0.5095, allocations: 433 kB / 0.5585 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5095, allocations: 8.031 kB / 0.5585 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5106, allocations: 100.8 kB / 0.5586 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5109, allocations: 216.1 kB / 0.5588 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.5109, allocations: 0 / 0.5588 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.511, allocations: 7.953 kB / 0.5588 GB, free: 12.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.5112, allocations: 91.33 kB / 0.5589 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5112, allocations: 4 kB / 0.5589 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.5112, allocations: 0 / 0.5589 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5112, allocations: 0 / 0.5589 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.5114, allocations: 51.89 kB / 0.5589 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.5117, allocations: 206.9 kB / 0.5591 GB, free: 12.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.5122, allocations: 133.1 kB / 0.5592 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.5123, allocations: 29.7 kB / 0.5593 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008178/0.5132, allocations: 0.9862 MB / 0.5602 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.5132, allocations: 30.56 kB / 0.5603 GB, free: 10.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.5132, allocations: 0 / 0.5603 GB, free: 10.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005288/0.5137, allocations: 141.5 kB / 0.5604 GB, free: 10.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.5138, allocations: 77.11 kB / 0.5605 GB, free: 10.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.514, allocations: 155.5 kB / 0.5606 GB, free: 10.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.5141, allocations: 29.7 kB / 0.5606 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.5141, allocations: 84.14 kB / 0.5607 GB, free: 10.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.5142, allocations: 23.78 kB / 0.5608 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.5142, allocations: 29.7 kB / 0.5608 GB, free: 10.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5144, allocations: 326.8 kB / 0.5611 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.5145, allocations: 27.97 kB / 0.5611 GB, free: 9.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5146, allocations: 60.16 kB / 0.5612 GB, free: 9.754 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.5149, allocations: 87.7 kB / 0.5613 GB, free: 9.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5149, allocations: 0 / 0.5613 GB, free: 9.656 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003553/0.5152, allocations: 117.5 kB / 0.5614 GB, free: 9.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5152, allocations: 8 kB / 0.5614 GB, free: 9.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5153, allocations: 3.938 kB / 0.5614 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5153, allocations: 0 / 0.5614 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.5154, allocations: 23.97 kB / 0.5614 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5154, allocations: 8.062 kB / 0.5614 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5156, allocations: 12.45 kB / 0.5614 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.5156, allocations: 7.984 kB / 0.5614 GB, free: 9.473 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.0001063/0.5157, allocations: 121.7 kB / 0.5615 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.5158, allocations: 4 kB / 0.5616 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.5164, allocations: 246.6 kB / 0.5618 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5164, allocations: 0 / 0.5618 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5164, allocations: 4 kB / 0.5618 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5164, allocations: 1.125 kB / 0.5618 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.5167, allocations: 218.7 kB / 0.562 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5167, allocations: 0 / 0.562 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.5169, allocations: 27.91 kB / 0.562 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5169, allocations: 0 / 0.562 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5169, allocations: 8 kB / 0.562 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5169, allocations: 0 / 0.562 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5169, allocations: 2.688 kB / 0.562 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.5174, allocations: 177.8 kB / 0.5622 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.5174, allocations: 93.08 kB / 0.5623 GB, free: 8.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.5175, allocations: 7.984 kB / 0.5623 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5177, allocations: 8.062 kB / 0.5623 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.5177, allocations: 3.984 kB / 0.5623 GB, free: 8.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.5177, allocations: 8 kB / 0.5623 GB, free: 8.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5179, allocations: 132.4 kB / 0.5624 GB, free: 8.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5179, allocations: 0 / 0.5624 GB, free: 8.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.5184, allocations: 131.5 kB / 0.5626 GB, free: 8.211 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.0008111/0.5192, allocations: 320.6 kB / 0.5629 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.5195, allocations: 75.81 kB / 0.563 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5195, allocations: 0 / 0.563 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.5197, allocations: 43.91 kB / 0.563 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5199, allocations: 15.14 kB / 0.563 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.5205, allocations: 333 kB / 0.5633 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5208, allocations: 0.6846 MB / 0.564 GB, free: 6.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.521, allocations: 51.38 kB / 0.564 GB, free: 6.648 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.521, allocations: 0 / 0.564 GB, free: 6.648 MB / 462.1 MB Notification: Performance of Templates: time 0.007287/0.5283, allocations: 4.142 MB / 0.5681 GB, free: 2.512 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.446013762848452]