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.0009095/0.0009095, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.0009096/0.0009096, allocations: 167.1 kB / 25.7 MB, free: 8.445 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.8175/0.8175, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.693e-06/1.693e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.54e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001505/0.00152, allocations: 1.382 MB / 252.9 MB, free: 5.883 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.007694, allocations: 7.132 MB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.007727, allocations: 0 / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.007746, allocations: 7.922 kB / 260 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000872/0.008618, allocations: 306.7 kB / 260.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.009672, allocations: 0.716 MB / 261.1 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.371e-05/0.009746, allocations: 51.67 kB / 261.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.009775, allocations: 11.97 kB / 261.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.01033, allocations: 431.1 kB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.01036, allocations: 23.91 kB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.01037, allocations: 4 kB / 261.6 MB, free: 13.17 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.01115, allocations: 0.7171 MB / 262.3 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.01117, allocations: 15.91 kB / 262.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.01119, allocations: 16 kB / 262.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.0118, allocations: 0.6194 MB / 262.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01181, allocations: 0 / 262.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01181, allocations: 3.938 kB / 262.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.01181, allocations: 0 / 262.9 MB, free: 11.8 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.000347/0.01216, allocations: 367.7 kB / 263.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01219, allocations: 11.98 kB / 263.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.01221, allocations: 4.938 kB / 263.3 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.626e-05/0.01231, allocations: 121.7 kB / 263.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.01232, allocations: 4.375 kB / 263.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.01234, allocations: 8.375 kB / 263.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.01242, allocations: 72.59 kB / 263.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-06/0.01243, allocations: 4.125 kB / 263.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.01244, allocations: 8.125 kB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.01244, allocations: 4 kB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.01246, allocations: 11.98 kB / 263.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.333e-05/0.01255, allocations: 77.83 kB / 263.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.01268, allocations: 65.17 kB / 263.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.778e-05/0.0127, allocations: 17.7 kB / 263.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.01291, allocations: 131.9 kB / 263.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01293, allocations: 34.56 kB / 263.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.01293, allocations: 0 / 263.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001043/0.01304, allocations: 65.59 kB / 263.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.01307, allocations: 81.09 kB / 264 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.944e-05/0.01312, allocations: 118.6 kB / 264.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.01313, allocations: 25.7 kB / 264.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.01315, allocations: 80.14 kB / 264.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.01318, allocations: 27.78 kB / 264.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.01321, allocations: 25.64 kB / 264.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.01327, allocations: 318.8 kB / 264.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.01328, allocations: 4 kB / 264.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.01331, allocations: 35.42 kB / 264.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.01335, allocations: 51.33 kB / 264.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01335, allocations: 0 / 264.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.879e-05/0.01341, allocations: 61.61 kB / 264.7 MB, free: 9.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.01342, allocations: 4 kB / 264.7 MB, free: 9.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01342, allocations: 4.062 kB / 264.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.01343, allocations: 4 kB / 264.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.742e-05/0.01347, allocations: 15.94 kB / 264.8 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01348, allocations: 3.984 kB / 264.8 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.215e-05/0.0135, allocations: 11.94 kB / 264.8 MB, free: 9.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.0135, allocations: 0 / 264.8 MB, free: 9.746 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 4.625e-05/0.01355, allocations: 109.8 kB / 264.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.01356, allocations: 8 kB / 264.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.01369, allocations: 104.2 kB / 265 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.01369, allocations: 0 / 265 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.01369, allocations: 0 / 265 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.0137, allocations: 3.938 kB / 265 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.616e-05/0.01376, allocations: 88.59 kB / 265.1 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01377, allocations: 3.984 kB / 265.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.01381, allocations: 15.94 kB / 265.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01381, allocations: 4 kB / 265.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01382, allocations: 0.5625 kB / 265.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01382, allocations: 0 / 265.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01382, allocations: 4 kB / 265.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.01393, allocations: 112 kB / 265.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.01395, allocations: 15.94 kB / 265.2 MB, free: 9.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.01396, allocations: 4 kB / 265.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.473e-05/0.01397, allocations: 0 / 265.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.014, allocations: 15.91 kB / 265.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.01401, allocations: 0 / 265.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.01415, allocations: 24.91 kB / 265.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01415, allocations: 0 / 265.3 MB, free: 9.188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.01444, allocations: 171.4 kB / 265.5 MB, free: 9.02 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.0005138/0.01495, allocations: 398.2 kB / 265.8 MB, free: 8.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.01503, allocations: 36.77 kB / 265.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01504, allocations: 4 kB / 265.9 MB, free: 8.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.01507, allocations: 28.78 kB / 265.9 MB, free: 8.559 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.715e-05/0.01517, allocations: 4 kB / 265.9 MB, free: 8.555 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.01563, allocations: 251.4 kB / 266.2 MB, free: 8.281 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.602e-05/0.01566, allocations: 55.36 kB / 266.2 MB, free: 8.207 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.0157, allocations: 31.22 kB / 266.2 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.01576, allocations: 67.3 kB / 266.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01577, allocations: 0 / 266.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of Templates: time 0.005483/0.02125, allocations: 4.599 MB / 270.9 MB, free: 3.527 MB / 250.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.5281996107660234]