Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009635/0.0009635, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001109/0.001109, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8912/0.8912, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.835e-05, allocations: 3.625 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001725/0.001744, allocations: 1.389 MB / 275.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.00538, allocations: 4.009 MB / 279.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.005413, allocations: 7.938 kB / 279.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.005431, allocations: 3.984 kB / 279.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000845/0.006275, allocations: 310.7 kB / 279.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008241/0.0071, allocations: 0.5172 MB / 280.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.007176, allocations: 59.66 kB / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.794e-05/0.007204, allocations: 0 / 280.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005985/0.007803, allocations: 463 kB / 280.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.007839, allocations: 15.98 kB / 280.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.007853, allocations: 7.984 kB / 280.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.008493, allocations: 0.5455 MB / 281.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.008503, allocations: 4 kB / 281.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.008524, allocations: 15.94 kB / 281.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.009068, allocations: 486.8 kB / 282 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00907, allocations: 0 / 282 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.009071, allocations: 4 kB / 282 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.009075, allocations: 4 kB / 282 MB, free: 12.61 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.0003747/0.00945, allocations: 467.5 kB / 282.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.009477, allocations: 11.97 kB / 282.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.009507, allocations: 8.891 kB / 282.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.009603, allocations: 128.5 kB / 282.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.009615, allocations: 4.375 kB / 282.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.00963, allocations: 4.375 kB / 282.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.00973, allocations: 82.05 kB / 282.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.009735, allocations: 0 / 282.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.009741, allocations: 0 / 282.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.009745, allocations: 4 kB / 282.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.009768, allocations: 15.92 kB / 282.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.009872, allocations: 113 kB / 282.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.01002, allocations: 86.09 kB / 282.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.01004, allocations: 27.42 kB / 282.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.01026, allocations: 127.9 kB / 283 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.01028, allocations: 37.38 kB / 283.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.01028, allocations: 0 / 283.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001297/0.01041, allocations: 77.5 kB / 283.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01044, allocations: 85.09 kB / 283.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.01051, allocations: 169.9 kB / 283.4 MB, free: 11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.01052, allocations: 25.7 kB / 283.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.01055, allocations: 134.9 kB / 283.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.01058, allocations: 19.78 kB / 283.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.01061, allocations: 35.3 kB / 283.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01072, allocations: 496.1 kB / 284.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.01073, allocations: 7.984 kB / 284.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.01076, allocations: 46.67 kB / 284.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.97e-05/0.01081, allocations: 58.73 kB / 284.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01081, allocations: 3.938 kB / 284.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.857e-05/0.0109, allocations: 77.56 kB / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.01091, allocations: 4 kB / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01092, allocations: 0 / 284.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.01093, allocations: 7.938 kB / 284.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.01097, allocations: 15.98 kB / 284.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.01097, allocations: 64 / 284.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.011, allocations: 4 kB / 284.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.011, allocations: 7.938 kB / 284.3 MB, free: 10 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.08e-05/0.01106, allocations: 160.6 kB / 284.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.01108, allocations: 7.953 kB / 284.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.01123, allocations: 108.2 kB / 284.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.01124, allocations: 7.938 kB / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.01124, allocations: 0 / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01124, allocations: 0 / 284.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/0.01132, allocations: 113.2 kB / 284.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01133, allocations: 8.562 kB / 284.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.01137, allocations: 8 kB / 284.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01137, allocations: 0 / 284.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.01138, allocations: 0 / 284.7 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.01138, allocations: 11.92 kB / 284.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01138, allocations: 0 / 284.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.01151, allocations: 128 kB / 284.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.01153, allocations: 15.92 kB / 284.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.01154, allocations: 4 kB / 284.9 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.01156, allocations: 4.031 kB / 284.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.01159, allocations: 11.92 kB / 284.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.01159, allocations: 4 kB / 284.9 MB, free: 9.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.594e-05/0.01163, allocations: 127.2 kB / 285 MB, free: 9.234 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01163, allocations: 0 / 285 MB, free: 9.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.0119, allocations: 135.5 kB / 285.2 MB, free: 9.102 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.0003362/0.01224, allocations: 298.5 kB / 285.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.739e-05/0.01231, allocations: 43.59 kB / 285.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01232, allocations: 0 / 285.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.01235, allocations: 31.78 kB / 285.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.01248, allocations: 12 kB / 285.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.01295, allocations: 265.7 kB / 285.8 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.877e-05/0.01298, allocations: 59.36 kB / 285.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.01305, allocations: 30.72 kB / 285.9 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.01311, allocations: 90.17 kB / 286 MB, free: 8.219 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01311, allocations: 0 / 286 MB, free: 8.219 MB / 266.7 MB Notification: Performance of Templates: time 0.0054/0.01851, allocations: 3.752 MB / 289.7 MB, free: 4.535 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.5227955617010593]