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.0008885/0.0008885, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001297/0.001297, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.9058/0.9058, allocations: 177 MB / 205.2 MB, free: 5.051 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.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.666e-05, allocations: 6.312 kB / 273.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002258/0.002274, allocations: 1.406 MB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005072/0.007347, allocations: 4.048 MB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.007382, allocations: 4 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.007405, allocations: 7.922 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.00845, allocations: 302.7 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.009528, allocations: 0.5251 MB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.009617, allocations: 51.67 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.00965, allocations: 4 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007537/0.0104, allocations: 443.1 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.01045, allocations: 23.91 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.01046, allocations: 0 / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008489/0.01131, allocations: 0.5494 MB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.01133, allocations: 7.938 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.01135, allocations: 15.98 kB / 280.7 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.01206, allocations: 486.8 kB / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01207, allocations: 0 / 281.2 MB, free: 9.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01207, allocations: 4 kB / 281.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.01207, allocations: 0 / 281.2 MB, free: 9.199 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.0004317/0.0125, allocations: 343.8 kB / 281.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.01254, allocations: 19.92 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.01257, allocations: 4.938 kB / 281.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.01268, allocations: 117.8 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.0127, allocations: 8.375 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.01272, allocations: 384 / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.01283, allocations: 72.41 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.01284, allocations: 4 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-06/0.01285, allocations: 0 / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.01285, allocations: 4 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.01288, allocations: 19.91 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.01299, allocations: 73.86 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.01317, allocations: 65.2 kB / 281.9 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.0132, allocations: 25.64 kB / 282 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/0.01349, allocations: 131.8 kB / 282.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.01351, allocations: 34.56 kB / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.01351, allocations: 0 / 282.1 MB, free: 8.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001313/0.01364, allocations: 65.61 kB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.01368, allocations: 85.05 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.759e-05/0.01375, allocations: 110.7 kB / 282.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01376, allocations: 25.7 kB / 282.4 MB, free: 7.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.01379, allocations: 88.12 kB / 282.5 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.01383, allocations: 23.78 kB / 282.5 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.01386, allocations: 25.7 kB / 282.5 MB, free: 7.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.01395, allocations: 318.8 kB / 282.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.01397, allocations: 4 kB / 282.9 MB, free: 7.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.014, allocations: 31.45 kB / 282.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.01406, allocations: 51.34 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01406, allocations: 0 / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.651e-05/0.01416, allocations: 65.55 kB / 283 MB, free: 7.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.01417, allocations: 7.984 kB / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.01418, allocations: 4 kB / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01419, allocations: 0 / 283 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/0.01424, allocations: 16.41 kB / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.01425, allocations: 64 / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.01428, allocations: 11.98 kB / 283 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01429, allocations: 4 kB / 283 MB, free: 7.168 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 6.177e-05/0.01435, allocations: 117.7 kB / 283.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.01437, allocations: 4 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.01454, allocations: 104.2 kB / 283.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.01455, allocations: 3.984 kB / 283.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.01455, allocations: 3.938 kB / 283.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01455, allocations: 4 kB / 283.3 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.04e-05/0.01464, allocations: 80.67 kB / 283.4 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.01465, allocations: 4 kB / 283.4 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.0147, allocations: 11.98 kB / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.01471, allocations: 0 / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.01471, allocations: 0 / 283.4 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01471, allocations: 4 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01472, allocations: 0 / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.01486, allocations: 119.9 kB / 283.5 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.01488, allocations: 19.92 kB / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.0149, allocations: 0 / 283.5 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.776e-05/0.01493, allocations: 8.031 kB / 283.5 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.01496, allocations: 11.98 kB / 283.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01497, allocations: 3.938 kB / 283.5 MB, free: 6.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.817e-05/0.01498, allocations: 16.92 kB / 283.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01498, allocations: 0 / 283.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.01537, allocations: 135.5 kB / 283.7 MB, free: 6.473 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.0004506/0.01582, allocations: 287.8 kB / 284 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.0159, allocations: 28.84 kB / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0159, allocations: 0 / 284 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.01595, allocations: 32.89 kB / 284 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.01606, allocations: 15.94 kB / 284 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.01666, allocations: 231.8 kB / 284.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.411e-05/0.01669, allocations: 63.3 kB / 284.3 MB, free: 5.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.64e-05/0.01676, allocations: 32.16 kB / 284.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.544e-05/0.01683, allocations: 71.34 kB / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01683, allocations: 0 / 284.4 MB, free: 5.66 MB / 266.7 MB Notification: Performance of Templates: time 0.006807/0.02364, allocations: 3.704 MB / 288.1 MB, free: 2.012 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.624549593310803]