Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000934/0.000934, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009005/0.0009005, allocations: 166 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8643/0.8643, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.419e-05, allocations: 7.719 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.004869/0.004884, allocations: 1.396 MB / 275.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.01212, allocations: 4.022 MB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.01215, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.986e-05/0.01217, allocations: 3.938 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008782/0.01305, allocations: 302.7 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.01696, allocations: 0.525 MB / 280.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.01704, allocations: 55.66 kB / 280.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.087e-05/0.01707, allocations: 4 kB / 280.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.01775, allocations: 459 kB / 280.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.01779, allocations: 15.98 kB / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.0178, allocations: 4 kB / 280.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.01852, allocations: 0.5455 MB / 281.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.01853, allocations: 7.984 kB / 281.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.01856, allocations: 15.94 kB / 281.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.01914, allocations: 490.7 kB / 281.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.01914, allocations: 0 / 281.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01914, allocations: 0 / 281.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.01914, allocations: 0 / 281.9 MB, free: 12.44 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.003393/0.02254, allocations: 471.5 kB / 282.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.02257, allocations: 12.03 kB / 282.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.0226, allocations: 12.89 kB / 282.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.02271, allocations: 128.5 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.02272, allocations: 384 / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.02273, allocations: 4.375 kB / 282.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.02283, allocations: 78.06 kB / 282.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.02284, allocations: 0 / 282.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.02285, allocations: 4 kB / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.02285, allocations: 0 / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.02288, allocations: 11.92 kB / 282.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.023, allocations: 117 kB / 282.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.02316, allocations: 86.16 kB / 282.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.02319, allocations: 27.44 kB / 282.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.02344, allocations: 127.8 kB / 283 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.02346, allocations: 41.36 kB / 283 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.02346, allocations: 4 kB / 283 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001405/0.0236, allocations: 73.83 kB / 283.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.02363, allocations: 77.11 kB / 283.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.02371, allocations: 169.9 kB / 283.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.02372, allocations: 33.7 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.02376, allocations: 126.9 kB / 283.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.02379, allocations: 23.78 kB / 283.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.02383, allocations: 27.36 kB / 283.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.02396, allocations: 0.4923 MB / 284 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.02397, allocations: 7.938 kB / 284 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.02401, allocations: 42.73 kB / 284.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.02407, allocations: 54.72 kB / 284.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02407, allocations: 4 kB / 284.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000102/0.02418, allocations: 81.5 kB / 284.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.02419, allocations: 4 kB / 284.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.02419, allocations: 0 / 284.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.0242, allocations: 7.938 kB / 284.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.02425, allocations: 15.98 kB / 284.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.02425, allocations: 0 / 284.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.02428, allocations: 8 kB / 284.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-06/0.02429, allocations: 0 / 284.3 MB, free: 9.836 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 7.071e-05/0.02436, allocations: 176.5 kB / 284.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.02438, allocations: 7.953 kB / 284.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.02455, allocations: 104 kB / 284.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.02455, allocations: 3.938 kB / 284.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.02456, allocations: 0 / 284.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.02456, allocations: 0 / 284.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.847e-05/0.02465, allocations: 109.2 kB / 284.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.02465, allocations: 0 / 284.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.0247, allocations: 8 kB / 284.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0247, allocations: 7.984 kB / 284.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.02471, allocations: 4 kB / 284.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.02471, allocations: 0 / 284.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02471, allocations: 0 / 284.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.02486, allocations: 135.9 kB / 284.8 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.02488, allocations: 15.94 kB / 284.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.02489, allocations: 0 / 284.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.357e-05/0.02492, allocations: 4 kB / 284.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.02495, allocations: 7.922 kB / 284.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.02495, allocations: 4 kB / 284.8 MB, free: 9.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.025, allocations: 147.7 kB / 285 MB, free: 9.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.025, allocations: 0 / 285 MB, free: 9.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002442/0.02744, allocations: 131.5 kB / 285.1 MB, free: 8.922 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.0003141/0.02775, allocations: 302 kB / 285.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.824e-05/0.02783, allocations: 39.61 kB / 285.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.02783, allocations: 4 kB / 285.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.02787, allocations: 27.61 kB / 285.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.02799, allocations: 11.98 kB / 285.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.02844, allocations: 261.9 kB / 285.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.688e-05/0.02847, allocations: 63.34 kB / 285.8 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.02852, allocations: 39.38 kB / 285.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.02857, allocations: 86.19 kB / 285.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02858, allocations: 0 / 285.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of Templates: time 0.004451/0.03303, allocations: 3.755 MB / 289.7 MB, free: 4.359 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5553916059434414]