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.001037/0.001037, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001245/0.001245, allocations: 169.6 kB / 25.69 MB, free: 8.441 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.8777/0.8777, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.533e-06/1.533e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.722e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002453/0.002471, allocations: 1.425 MB / 253 MB, free: 5.793 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00714/0.009611, allocations: 7.132 MB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.009639, allocations: 0 / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.245e-05/0.009662, allocations: 11.92 kB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007614/0.01042, allocations: 290.7 kB / 260.4 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.01131, allocations: 0.6769 MB / 261.1 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.765e-05/0.01138, allocations: 59.66 kB / 261.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.01141, allocations: 4 kB / 261.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005472/0.01196, allocations: 435.1 kB / 261.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.012, allocations: 19.98 kB / 261.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.01201, allocations: 0 / 261.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007982/0.0128, allocations: 0.7872 MB / 262.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.01282, allocations: 8 kB / 262.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.01283, allocations: 11.94 kB / 262.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.01342, allocations: 0.6156 MB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01342, allocations: 0 / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01342, allocations: 3.938 kB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.01342, allocations: 0 / 263 MB, free: 11.71 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.0003339/0.01376, allocations: 371.6 kB / 263.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.01379, allocations: 15.98 kB / 263.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.01381, allocations: 4.938 kB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.01391, allocations: 125.7 kB / 263.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.01392, allocations: 4.375 kB / 263.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.01394, allocations: 384 / 263.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.144e-05/0.01403, allocations: 72.64 kB / 263.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01404, allocations: 4.188 kB / 263.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.01405, allocations: 4.125 kB / 263.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01405, allocations: 0 / 263.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.01408, allocations: 11.94 kB / 263.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.074e-05/0.01417, allocations: 81.84 kB / 263.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.0143, allocations: 61.16 kB / 263.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.01432, allocations: 21.72 kB / 263.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.01453, allocations: 127.9 kB / 263.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01455, allocations: 34.56 kB / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01455, allocations: 0 / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001057/0.01466, allocations: 61.59 kB / 264 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.01469, allocations: 77.11 kB / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.042e-05/0.01474, allocations: 118.6 kB / 264.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.01475, allocations: 29.7 kB / 264.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.01477, allocations: 88.12 kB / 264.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.01479, allocations: 19.8 kB / 264.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.01482, allocations: 29.69 kB / 264.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002987/0.01512, allocations: 310.8 kB / 264.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.01514, allocations: 11.98 kB / 264.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.01516, allocations: 35.36 kB / 264.7 MB, free: 9.836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.01521, allocations: 51.7 kB / 264.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01521, allocations: 4 kB / 264.8 MB, free: 9.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.496e-05/0.01527, allocations: 65.55 kB / 264.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.01528, allocations: 4 kB / 264.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01529, allocations: 4 kB / 264.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.0153, allocations: 0 / 264.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.209e-05/0.01534, allocations: 15.98 kB / 264.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.01535, allocations: 4.469 kB / 264.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.01537, allocations: 3.938 kB / 264.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.01538, allocations: 8 kB / 264.9 MB, free: 9.66 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.538e-05/0.01542, allocations: 109.8 kB / 265 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-06/0.01543, allocations: 7.984 kB / 265 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.01556, allocations: 104.3 kB / 265.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01557, allocations: 0 / 265.1 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01557, allocations: 8 kB / 265.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01557, allocations: 3.938 kB / 265.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.01564, allocations: 88.64 kB / 265.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01564, allocations: 0 / 265.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.01568, allocations: 8 kB / 265.2 MB, free: 9.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01569, allocations: 3.984 kB / 265.2 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.01569, allocations: 4 kB / 265.2 MB, free: 9.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01569, allocations: 4 kB / 265.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01569, allocations: 0 / 265.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.0158, allocations: 115.5 kB / 265.3 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.01582, allocations: 11.94 kB / 265.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.01583, allocations: 4 kB / 265.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.01585, allocations: 4 kB / 265.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.01587, allocations: 3.984 kB / 265.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.01588, allocations: 4 kB / 265.3 MB, free: 9.133 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.393e-05/0.01589, allocations: 16.84 kB / 265.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01589, allocations: 0 / 265.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.01615, allocations: 179.4 kB / 265.5 MB, free: 8.938 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.0005208/0.01667, allocations: 406.2 kB / 265.9 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.01674, allocations: 32.78 kB / 266 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01675, allocations: 0 / 266 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.01678, allocations: 20.84 kB / 266 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.859e-05/0.01686, allocations: 20.11 kB / 266 MB, free: 8.465 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.01733, allocations: 238.9 kB / 266.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.704e-05/0.01736, allocations: 63.34 kB / 266.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.0174, allocations: 32.08 kB / 266.3 MB, free: 8.094 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.01746, allocations: 67.36 kB / 266.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01746, allocations: 0 / 266.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of Templates: time 0.005396/0.02286, allocations: 4.591 MB / 271 MB, free: 3.457 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 -s gbode -gbm=radauIIA3 -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.6638116468675435]