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.0009717/0.0009717, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009108/0.0009108, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9517/0.9517, allocations: 177 MB / 204.8 MB, free: 5.207 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 2.154e-06/2.154e-06, allocations: 0 / 272.9 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.516e-05, allocations: 9.266 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.003173/0.003208, allocations: 1.404 MB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.007478, allocations: 4.056 MB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.007512, allocations: 0 / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.007539, allocations: 7.922 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000894/0.008433, allocations: 310.6 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.009147, allocations: 0.5173 MB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.009235, allocations: 59.66 kB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.009275, allocations: 7.984 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.009369, allocations: 39.89 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.009868, allocations: 371.2 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.00988, allocations: 3.938 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006912/0.01057, allocations: 0.5417 MB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.01058, allocations: 0 / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.01061, allocations: 23.91 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.01113, allocations: 486.7 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01114, allocations: 8 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01114, allocations: 0 / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.01114, allocations: 0 / 280.7 MB, free: 9.426 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.0004378/0.01158, allocations: 475.5 kB / 281.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01162, allocations: 11.98 kB / 281.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.01167, allocations: 4.938 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.01182, allocations: 128.5 kB / 281.3 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.01184, allocations: 4.375 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.01186, allocations: 4.375 kB / 281.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.01199, allocations: 86 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.01199, allocations: 4 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.012, allocations: 0 / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01201, allocations: 0 / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.567e-05/0.01205, allocations: 11.98 kB / 281.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.01218, allocations: 132.4 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.01238, allocations: 86.17 kB / 281.6 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.979e-05/0.01241, allocations: 27.36 kB / 281.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.01266, allocations: 123.9 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.01268, allocations: 49.27 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.01268, allocations: 4 kB / 281.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001553/0.01284, allocations: 77.48 kB / 281.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.01287, allocations: 77.11 kB / 282 MB, free: 7.961 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.01295, allocations: 169.9 kB / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.01296, allocations: 29.7 kB / 282.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.01299, allocations: 130.9 kB / 282.3 MB, free: 7.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.01302, allocations: 19.8 kB / 282.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.01306, allocations: 35.34 kB / 282.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.01316, allocations: 496.1 kB / 282.8 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.01318, allocations: 11.98 kB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.01321, allocations: 50.73 kB / 282.9 MB, free: 6.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.57e-05/0.01327, allocations: 59.05 kB / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01327, allocations: 0 / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.181e-05/0.01335, allocations: 81.5 kB / 283 MB, free: 6.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01336, allocations: 4 kB / 283.1 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01337, allocations: 3.938 kB / 283.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.01339, allocations: 4 kB / 283.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.01343, allocations: 20.05 kB / 283.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01343, allocations: 0 / 283.1 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.01345, allocations: 8 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01346, allocations: 0 / 283.1 MB, free: 6.773 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 0.0003088/0.01377, allocations: 160.6 kB / 283.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.01378, allocations: 11.95 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.01396, allocations: 117.3 kB / 283.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.01397, allocations: 4 kB / 283.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.01397, allocations: 4 kB / 283.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01398, allocations: 0 / 283.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.859e-05/0.01405, allocations: 120.6 kB / 283.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01406, allocations: 4 kB / 283.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.0141, allocations: 11.98 kB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.0141, allocations: 0 / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01411, allocations: 8 kB / 283.5 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01411, allocations: 3.938 kB / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01411, allocations: 0 / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01425, allocations: 128.5 kB / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.01427, allocations: 23.91 kB / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.01428, allocations: 0 / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.0143, allocations: 3.938 kB / 283.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01434, allocations: 7.984 kB / 283.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.01434, allocations: 8 kB / 283.7 MB, free: 6.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.01438, allocations: 135.2 kB / 283.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01438, allocations: 0 / 283.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.01464, allocations: 135.5 kB / 284 MB, free: 5.832 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.0003691/0.01501, allocations: 298.8 kB / 284.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.01512, allocations: 43.61 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.01512, allocations: 4.125 kB / 284.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.01516, allocations: 31.61 kB / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01532, allocations: 19.92 kB / 284.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.01592, allocations: 257.8 kB / 284.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.01595, allocations: 67.28 kB / 284.7 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.016, allocations: 31.78 kB / 284.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.01603, allocations: 20.48 kB / 284.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01603, allocations: 0 / 284.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of Templates: time 0.004579/0.02061, allocations: 3.184 MB / 287.9 MB, free: 1.852 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: 3.0618484537117183]