Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9532/0.9532, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 273.5 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.655e-05, allocations: 5.969 kB / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00514/0.005157, allocations: 1.45 MB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007477/0.01263, allocations: 4.052 MB / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.01266, allocations: 0 / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.01268, allocations: 0 / 279 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.01652, allocations: 298.7 kB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.01731, allocations: 497.8 kB / 279.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.729e-05/0.0174, allocations: 59.61 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.19e-05/0.01743, allocations: 15.86 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.01808, allocations: 427.3 kB / 280.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.861e-05/0.01811, allocations: 19.91 kB / 280.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.01813, allocations: 8 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007812/0.01891, allocations: 0.5806 MB / 280.9 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.01892, allocations: 11.94 kB / 280.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.01894, allocations: 11.98 kB / 280.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.02252, allocations: 490.7 kB / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.02252, allocations: 0 / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.02252, allocations: 0 / 281.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.02253, allocations: 0 / 281.4 MB, free: 9.227 MB / 266.7 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.0003449/0.02287, allocations: 347.8 kB / 281.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.0229, allocations: 8.031 kB / 281.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.02293, allocations: 12.88 kB / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.02316, allocations: 121.8 kB / 281.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.02317, allocations: 4.375 kB / 281.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.02318, allocations: 4.375 kB / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.656e-05/0.02328, allocations: 72.41 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.02329, allocations: 0 / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.0233, allocations: 0 / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.0233, allocations: 0 / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.02333, allocations: 19.91 kB / 281.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.695e-05/0.02343, allocations: 69.86 kB / 282 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.02358, allocations: 73.2 kB / 282.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.0236, allocations: 21.64 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.02385, allocations: 131.9 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.02388, allocations: 30.56 kB / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.02388, allocations: 0 / 282.3 MB, free: 8.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001128/0.02399, allocations: 61.61 kB / 282.3 MB, free: 8.148 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.02402, allocations: 85.05 kB / 282.4 MB, free: 8.047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.855e-05/0.02408, allocations: 110.7 kB / 282.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.02409, allocations: 33.7 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.222e-05/0.02411, allocations: 84.12 kB / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.02414, allocations: 27.78 kB / 282.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.02418, allocations: 17.72 kB / 282.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.02426, allocations: 322.8 kB / 283 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.02427, allocations: 4 kB / 283 MB, free: 7.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.0243, allocations: 31.45 kB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.02435, allocations: 47.34 kB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02435, allocations: 0 / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.859e-05/0.02443, allocations: 69.55 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.02444, allocations: 8 kB / 283.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.02445, allocations: 3.984 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.02446, allocations: 480 / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.02451, allocations: 19.94 kB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.02451, allocations: 0 / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.02454, allocations: 7.984 kB / 283.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.02455, allocations: 4 kB / 283.2 MB, free: 7.203 MB / 266.7 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 5.401e-05/0.0246, allocations: 125.8 kB / 283.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.02461, allocations: 7.938 kB / 283.3 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.02476, allocations: 92.27 kB / 283.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.02477, allocations: 11.98 kB / 283.4 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.02477, allocations: 3.938 kB / 283.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.02477, allocations: 0 / 283.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.02485, allocations: 80.67 kB / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02486, allocations: 0 / 283.5 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.02491, allocations: 15.98 kB / 283.5 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.02491, allocations: 4 kB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.02492, allocations: 0 / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.02492, allocations: 0 / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02492, allocations: 4 kB / 283.5 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.02504, allocations: 115.5 kB / 283.6 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.02506, allocations: 15.94 kB / 283.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.02507, allocations: 4 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.0251, allocations: 0 / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.02513, allocations: 11.98 kB / 283.7 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.02513, allocations: 3.938 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.043e-05/0.02515, allocations: 16.84 kB / 283.7 MB, free: 6.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02515, allocations: 4.031 kB / 283.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.02547, allocations: 131.5 kB / 283.8 MB, free: 6.512 MB / 266.7 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 (7): * Single equations (assignments): 6 * 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.0003923/0.02586, allocations: 291.7 kB / 284.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.528e-05/0.02594, allocations: 33.61 kB / 284.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02594, allocations: 3.938 kB / 284.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.02598, allocations: 20.84 kB / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.02608, allocations: 15.94 kB / 284.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.02662, allocations: 243.8 kB / 284.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.053e-05/0.02665, allocations: 63.34 kB / 284.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.0267, allocations: 23.17 kB / 284.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.02677, allocations: 75.34 kB / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02677, allocations: 0 / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of Templates: time 0.006066/0.03283, allocations: 3.716 MB / 288.3 MB, free: 2.035 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SolveOneNonlinearEquation/InverseIncompressible_sh_T/InverseIncompressible_sh_T.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.619913979899138]