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.000987/0.000987, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001015/0.001015, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.9547/0.9547, allocations: 177 MB / 205.1 MB, free: 5.469 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.663e-06/1.663e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.378e-05, allocations: 6.312 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001766/0.001789, allocations: 1.4 MB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.005312, allocations: 4.009 MB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.005343, allocations: 3.938 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.005361, allocations: 3.984 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009836/0.006345, allocations: 302.7 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.006938, allocations: 0.5251 MB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.007004, allocations: 55.66 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.604e-05/0.00703, allocations: 4 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000549/0.007579, allocations: 463 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.007613, allocations: 23.91 kB / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.007624, allocations: 0 / 280.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.00818, allocations: 0.5494 MB / 280.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.008192, allocations: 8 kB / 280.6 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.008211, allocations: 15.92 kB / 280.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.008682, allocations: 482.8 kB / 281.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.008684, allocations: 4 kB / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008685, allocations: 0 / 281.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.008688, allocations: 0 / 281.1 MB, free: 9.371 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.0003436/0.009032, allocations: 475.5 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.009065, allocations: 19.92 kB / 281.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.009095, allocations: 4.938 kB / 281.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.009189, allocations: 124.6 kB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.009201, allocations: 4.375 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.009213, allocations: 384 / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.009313, allocations: 90.05 kB / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.009319, allocations: 0 / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.009325, allocations: 4 kB / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00933, allocations: 0 / 281.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.009355, allocations: 15.92 kB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.009462, allocations: 112.9 kB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.009613, allocations: 90.17 kB / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.009632, allocations: 19.44 kB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.009855, allocations: 142.2 kB / 282.2 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.009875, allocations: 45.31 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.009876, allocations: 4 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001228/0.009999, allocations: 77.62 kB / 282.3 MB, free: 8.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.01003, allocations: 77.11 kB / 282.4 MB, free: 7.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.01009, allocations: 169.9 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.0101, allocations: 29.7 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.01013, allocations: 126.9 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.01016, allocations: 31.77 kB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.01018, allocations: 19.38 kB / 282.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.01028, allocations: 0.4923 MB / 283.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.01029, allocations: 4 kB / 283.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.01032, allocations: 54.67 kB / 283.3 MB, free: 6.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.623e-05/0.01036, allocations: 54.72 kB / 283.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01037, allocations: 7.938 kB / 283.4 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.2e-05/0.01044, allocations: 65.58 kB / 283.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.01045, allocations: 4 kB / 283.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01045, allocations: 4 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.01047, allocations: 3.938 kB / 283.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.957e-05/0.01051, allocations: 20.05 kB / 283.5 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.01051, allocations: 4 kB / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.01053, allocations: 0 / 283.5 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.01054, allocations: 15.92 kB / 283.5 MB, free: 6.742 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.138e-05/0.01059, allocations: 152.6 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.0106, allocations: 7.953 kB / 283.7 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.01074, allocations: 109.3 kB / 283.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01075, allocations: 3.938 kB / 283.8 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01075, allocations: 4 kB / 283.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01076, allocations: 4 kB / 283.8 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.089e-05/0.01083, allocations: 109.2 kB / 283.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01083, allocations: 4 kB / 283.9 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.01087, allocations: 11.98 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.01087, allocations: 4 kB / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.01088, allocations: 0 / 283.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01088, allocations: 3.938 kB / 283.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01088, allocations: 4.469 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.01099, allocations: 128 kB / 284 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01101, allocations: 24.33 kB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.01102, allocations: 4 kB / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.01104, allocations: 0 / 284.1 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.01106, allocations: 11.92 kB / 284.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.01107, allocations: 0 / 284.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.0111, allocations: 135.2 kB / 284.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0111, allocations: 0 / 284.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01134, allocations: 131.5 kB / 284.3 MB, free: 5.844 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.0003202/0.01166, allocations: 310.6 kB / 284.6 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.01173, allocations: 39.59 kB / 284.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01173, allocations: 4.125 kB / 284.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.01176, allocations: 23.67 kB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.01189, allocations: 15.98 kB / 284.7 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.01235, allocations: 257.8 kB / 285 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.01239, allocations: 71.27 kB / 285 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.01244, allocations: 31.83 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.01249, allocations: 86.19 kB / 285.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01249, allocations: 0 / 285.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of Templates: time 0.004838/0.01733, allocations: 3.733 MB / 288.9 MB, free: 1.281 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.699575380887836]