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.001069/0.001069, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002353, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007021/0.0007021, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008874/0.001589, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8517/0.8517, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.144/0.9957, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.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.372e-06/1.372e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.998e-05, allocations: 6.312 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00245/0.00247, allocations: 1.426 MB / 223.3 MB, free: 14.72 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008129/0.0106, allocations: 7.144 MB / 230.4 MB, free: 7.551 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.01064, allocations: 0 / 230.4 MB, free: 7.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.01065, allocations: 3.938 kB / 230.4 MB, free: 7.547 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.01157, allocations: 286.7 kB / 230.7 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.0129, allocations: 0.6653 MB / 231.4 MB, free: 6.598 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.013, allocations: 67.59 kB / 231.4 MB, free: 6.531 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.01304, allocations: 4 kB / 231.4 MB, free: 6.527 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.01376, allocations: 431.2 kB / 231.9 MB, free: 6.105 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.0138, allocations: 15.97 kB / 231.9 MB, free: 6.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.01382, allocations: 8 kB / 231.9 MB, free: 6.082 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.01526, allocations: 0.7756 MB / 232.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.01527, allocations: 4 kB / 232.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.0153, allocations: 15.94 kB / 232.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008451/0.01614, allocations: 0.5182 MB / 233.2 MB, free: 4.766 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.01616, allocations: 0 / 233.2 MB, free: 4.766 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01616, allocations: 0 / 233.2 MB, free: 4.766 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.01618, allocations: 0 / 233.2 MB, free: 4.766 MB / 234.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.0008839/0.01707, allocations: 443.2 kB / 233.6 MB, free: 4.309 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.0171, allocations: 15.89 kB / 233.6 MB, free: 4.293 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.01713, allocations: 4.938 kB / 233.6 MB, free: 4.289 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.01725, allocations: 129.6 kB / 233.8 MB, free: 4.137 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01727, allocations: 4.359 kB / 233.8 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.01728, allocations: 4.375 kB / 233.8 MB, free: 4.129 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.0174, allocations: 64.67 kB / 233.8 MB, free: 4.051 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.01741, allocations: 4.172 kB / 233.8 MB, free: 4.047 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.01742, allocations: 4.125 kB / 233.8 MB, free: 4.043 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.01742, allocations: 4 kB / 233.9 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.01745, allocations: 7.938 kB / 233.9 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.01756, allocations: 81.84 kB / 233.9 MB, free: 3.934 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.01774, allocations: 69.2 kB / 234 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.01776, allocations: 13.72 kB / 234 MB, free: 3.828 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.01803, allocations: 123.9 kB / 234.1 MB, free: 3.707 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.01805, allocations: 42.5 kB / 234.2 MB, free: 3.656 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.01805, allocations: 0 / 234.2 MB, free: 3.656 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001291/0.01818, allocations: 65.58 kB / 234.2 MB, free: 3.586 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.01822, allocations: 77.11 kB / 234.3 MB, free: 3.492 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.01829, allocations: 130.5 kB / 234.4 MB, free: 3.355 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.0183, allocations: 29.7 kB / 234.5 MB, free: 3.32 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.01832, allocations: 80.14 kB / 234.6 MB, free: 3.238 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01836, allocations: 19.8 kB / 234.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.01839, allocations: 29.69 kB / 234.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.01846, allocations: 310.8 kB / 234.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.01847, allocations: 11.97 kB / 234.9 MB, free: 2.859 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.0185, allocations: 27.44 kB / 234.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.01855, allocations: 47.34 kB / 235 MB, free: 2.762 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01855, allocations: 4 kB / 235 MB, free: 2.758 MB / 234.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.11e-05/0.01862, allocations: 69.55 kB / 235.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01864, allocations: 7.938 kB / 235.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01864, allocations: 0 / 235.1 MB, free: 2.676 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.01865, allocations: 4 kB / 235.1 MB, free: 2.672 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.01871, allocations: 15.98 kB / 235.1 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.01871, allocations: 4 kB / 235.1 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.01873, allocations: 3.938 kB / 235.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.01874, allocations: 4 kB / 235.1 MB, free: 2.645 MB / 234.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.42e-05/0.01879, allocations: 121.9 kB / 235.2 MB, free: 2.516 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.01881, allocations: 11.98 kB / 235.2 MB, free: 2.504 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.01898, allocations: 98.67 kB / 235.3 MB, free: 2.406 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.01899, allocations: 4 kB / 235.3 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01899, allocations: 0 / 235.3 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01899, allocations: 3.938 kB / 235.3 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.676e-05/0.01907, allocations: 76.72 kB / 235.4 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.01907, allocations: 0 / 235.4 MB, free: 2.305 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.01914, allocations: 23.98 kB / 235.4 MB, free: 2.281 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.01916, allocations: 15.88 kB / 235.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01916, allocations: 0.5625 kB / 235.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.01917, allocations: 0 / 235.5 MB, free: 2.266 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01917, allocations: 3.984 kB / 235.5 MB, free: 2.262 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01917, allocations: 4 kB / 235.5 MB, free: 2.258 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.01929, allocations: 107.5 kB / 235.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.0193, allocations: 0 / 235.6 MB, free: 2.129 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.01932, allocations: 4 kB / 235.6 MB, free: 2.125 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.01935, allocations: 11.97 kB / 235.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.01935, allocations: 4.031 kB / 235.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.869e-05/0.01937, allocations: 20.83 kB / 235.6 MB, free: 2.086 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01937, allocations: 0 / 235.6 MB, free: 2.086 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.01976, allocations: 183.4 kB / 235.8 MB, free: 1.906 MB / 234.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.0006599/0.02042, allocations: 410.2 kB / 236.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.687e-05/0.02052, allocations: 36.84 kB / 236.2 MB, free: 1.469 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.02053, allocations: 4 kB / 236.2 MB, free: 1.465 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.02056, allocations: 28.77 kB / 236.3 MB, free: 1.434 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.02068, allocations: 20.78 kB / 236.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.02199, allocations: 222.9 kB / 236.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.079e-05/0.02202, allocations: 59.34 kB / 236.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.02207, allocations: 42 kB / 236.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.02213, allocations: 63.36 kB / 236.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02214, allocations: 7.938 kB / 236.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of Templates: time 0.006693/0.02883, allocations: 4.713 MB / 241.4 MB, free: 12.27 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 -emit_protected -ignoreHideResult -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.5343795735388994]