Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001026/0.001026, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001001/0.001001, allocations: 169.8 kB / 25.33 MB, free: 9.422 MB / 18.57 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 0.7892/0.7892, allocations: 158.6 MB / 187.2 MB, free: 2.5 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.745e-05, allocations: 5.406 kB / 251 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001533/0.001551, allocations: 1.392 MB / 252.4 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00555/0.0071, allocations: 7.141 MB / 259.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.007129, allocations: 0 / 259.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.00715, allocations: 0 / 259.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.007944, allocations: 306.7 kB / 259.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.008831, allocations: 0.7199 MB / 260.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.098e-05/0.008902, allocations: 59.66 kB / 260.6 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.796e-05/0.00893, allocations: 4 kB / 260.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.009019, allocations: 47.81 kB / 260.7 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.009487, allocations: 367.3 kB / 261.1 MB, free: 9.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.009501, allocations: 4 kB / 261.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000706/0.01021, allocations: 0.7235 MB / 261.8 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.01022, allocations: 11.92 kB / 261.8 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.01024, allocations: 15.98 kB / 261.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.01085, allocations: 0.6155 MB / 262.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01085, allocations: 3.984 kB / 262.4 MB, free: 8.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01085, allocations: 4 kB / 262.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.01085, allocations: 0 / 262.4 MB, free: 8.148 MB / 250.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.0003873/0.01124, allocations: 495.3 kB / 262.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01127, allocations: 11.98 kB / 262.9 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.01131, allocations: 8.922 kB / 262.9 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.01144, allocations: 128.5 kB / 263.1 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.01146, allocations: 8.312 kB / 263.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.01148, allocations: 4.375 kB / 263.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.01159, allocations: 78.31 kB / 263.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.01159, allocations: 192 / 263.1 MB, free: 7.352 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.0116, allocations: 4.125 kB / 263.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.01161, allocations: 4 kB / 263.2 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.145e-05/0.01164, allocations: 15.92 kB / 263.2 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.01176, allocations: 132.4 kB / 263.3 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.01194, allocations: 86.2 kB / 263.4 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.01196, allocations: 23.44 kB / 263.4 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.01219, allocations: 127.8 kB / 263.5 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01221, allocations: 37.39 kB / 263.6 MB, free: 6.848 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.01221, allocations: 0 / 263.6 MB, free: 6.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001464/0.01236, allocations: 81.55 kB / 263.6 MB, free: 6.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.0124, allocations: 88.98 kB / 263.7 MB, free: 6.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.01247, allocations: 165.9 kB / 263.9 MB, free: 6.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.01247, allocations: 25.7 kB / 263.9 MB, free: 6.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.01251, allocations: 138.9 kB / 264.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.01254, allocations: 27.78 kB / 264.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.01257, allocations: 27.36 kB / 264.1 MB, free: 6.242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01267, allocations: 0.4884 MB / 264.6 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.01269, allocations: 4 kB / 264.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.01272, allocations: 46.73 kB / 264.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.01278, allocations: 66.67 kB / 264.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01278, allocations: 0 / 264.7 MB, free: 5.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.559e-05/0.01287, allocations: 81.5 kB / 264.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.01288, allocations: 4 kB / 264.8 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01288, allocations: 4 kB / 264.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01289, allocations: 0 / 264.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.171e-05/0.01294, allocations: 19.92 kB / 264.8 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01294, allocations: 4.062 kB / 264.8 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.01296, allocations: 4 kB / 264.8 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.01297, allocations: 8 kB / 264.8 MB, free: 5.465 MB / 250.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.766e-05/0.01303, allocations: 156.5 kB / 265 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.01304, allocations: 7.953 kB / 265 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.0132, allocations: 103.6 kB / 265.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.0132, allocations: 4 kB / 265.1 MB, free: 5.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01321, allocations: 3.938 kB / 265.1 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01321, allocations: 0 / 265.1 MB, free: 5.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.563e-05/0.01328, allocations: 136.6 kB / 265.2 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01329, allocations: 0 / 265.2 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.01333, allocations: 8 kB / 265.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01333, allocations: 0.5625 kB / 265.2 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01334, allocations: 7.984 kB / 265.3 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01334, allocations: 0 / 265.3 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01334, allocations: 0 / 265.3 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.01348, allocations: 139.9 kB / 265.4 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.0135, allocations: 15.94 kB / 265.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.01351, allocations: 0 / 265.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.01352, allocations: 8.016 kB / 265.4 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.01355, allocations: 15.86 kB / 265.4 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.01356, allocations: 4 kB / 265.4 MB, free: 4.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.726e-05/0.0136, allocations: 135.7 kB / 265.6 MB, free: 4.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0136, allocations: 0 / 265.6 MB, free: 4.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000281/0.01388, allocations: 171.4 kB / 265.7 MB, free: 4.492 MB / 250.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.0005233/0.0144, allocations: 410.7 kB / 266.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.643e-05/0.0145, allocations: 43.66 kB / 266.2 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0145, allocations: 0 / 266.2 MB, free: 4.043 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.01454, allocations: 31.61 kB / 266.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.01467, allocations: 12 kB / 266.2 MB, free: 3.996 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.01521, allocations: 257 kB / 266.5 MB, free: 3.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.01524, allocations: 63.34 kB / 266.5 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.01529, allocations: 30.34 kB / 266.6 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.01532, allocations: 20.48 kB / 266.6 MB, free: 3.586 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01532, allocations: 4 kB / 266.6 MB, free: 3.582 MB / 250.7 MB Notification: Performance of Templates: time 0.004933/0.02026, allocations: 3.871 MB / 270.5 MB, free: 15.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6898545091971755]