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.0008374/0.0008374, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008879/0.0008879, allocations: 165 kB / 25.45 MB, free: 9.348 MB / 18.57 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.8258/0.8258, allocations: 158.6 MB / 187.2 MB, free: 3.066 MB / 170.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.272e-06/1.272e-06, allocations: 0 / 299.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.117e-05, allocations: 2.281 kB / 299.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001433/0.001454, allocations: 1.334 MB / 301 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.00648, allocations: 6.503 MB / 307.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.006511, allocations: 0 / 307.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.006529, allocations: 3.938 kB / 307.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008279/0.007356, allocations: 302.7 kB / 307.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.008294, allocations: 0.7274 MB / 308.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.00837, allocations: 59.66 kB / 308.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.152e-05/0.008401, allocations: 4 kB / 308.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.008494, allocations: 47.88 kB / 308.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000466/0.00896, allocations: 367.3 kB / 309 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.008973, allocations: 4 kB / 309 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.009669, allocations: 0.7248 MB / 309.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.009679, allocations: 0 / 309.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.009705, allocations: 27.91 kB / 309.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.01029, allocations: 0.6116 MB / 310.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.01029, allocations: 3.984 kB / 310.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0103, allocations: 4 kB / 310.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.0103, allocations: 0 / 310.4 MB, free: 12.27 MB / 298.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.0003896/0.01069, allocations: 397 kB / 310.8 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.01072, allocations: 15.97 kB / 310.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.01075, allocations: 4.938 kB / 310.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.01089, allocations: 125.7 kB / 310.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.0109, allocations: 4.375 kB / 310.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.01092, allocations: 8.359 kB / 310.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.01102, allocations: 55.97 kB / 311 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.01103, allocations: 4.125 kB / 311 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.01104, allocations: 8.125 kB / 311 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.01104, allocations: 3.984 kB / 311 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.01109, allocations: 19.98 kB / 311 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.01121, allocations: 122.2 kB / 311.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01139, allocations: 81.17 kB / 311.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.01142, allocations: 17.72 kB / 311.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.01165, allocations: 127.9 kB / 311.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.01166, allocations: 30.56 kB / 311.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.01166, allocations: 0 / 311.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001768/0.01184, allocations: 89.55 kB / 311.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.01187, allocations: 81.05 kB / 311.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.01194, allocations: 113.8 kB / 311.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.01195, allocations: 29.7 kB / 311.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.01197, allocations: 84.14 kB / 311.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.012, allocations: 19.84 kB / 311.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.01203, allocations: 25.66 kB / 311.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.01211, allocations: 318.8 kB / 312.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.01214, allocations: 11.98 kB / 312.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.981e-05/0.01218, allocations: 39.42 kB / 312.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.01225, allocations: 63.36 kB / 312.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01225, allocations: 3.938 kB / 312.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.62e-05/0.01235, allocations: 81.56 kB / 312.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01236, allocations: 8 kB / 312.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01236, allocations: 0 / 312.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.01237, allocations: 0 / 312.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.01241, allocations: 27.98 kB / 312.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.01242, allocations: 7.938 kB / 312.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.01244, allocations: 7.938 kB / 312.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.01245, allocations: 0 / 312.4 MB, free: 10.05 MB / 298.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.149e-05/0.0125, allocations: 121.8 kB / 312.5 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.01251, allocations: 7.953 kB / 312.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.0127, allocations: 114.1 kB / 312.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01271, allocations: 0 / 312.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01271, allocations: 7.938 kB / 312.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01272, allocations: 4 kB / 312.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.85e-05/0.01279, allocations: 117.3 kB / 312.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01279, allocations: 0 / 312.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.01283, allocations: 15.98 kB / 312.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01283, allocations: 4.031 kB / 312.8 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01284, allocations: 8 kB / 312.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01284, allocations: 3.938 kB / 312.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01284, allocations: 0 / 312.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.013, allocations: 145.9 kB / 312.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.01302, allocations: 11.95 kB / 312.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.01304, allocations: 7.984 kB / 312.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.01305, allocations: 4 kB / 313 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.01308, allocations: 11.92 kB / 313 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01309, allocations: 4 kB / 313 MB, free: 9.402 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.962e-05/0.01312, allocations: 87.28 kB / 313.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01312, allocations: 0 / 313.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.0134, allocations: 171.5 kB / 313.2 MB, free: 9.148 MB / 298.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.0005039/0.01391, allocations: 398.7 kB / 313.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01403, allocations: 47.91 kB / 313.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01403, allocations: 0 / 313.7 MB, free: 8.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.01407, allocations: 23.98 kB / 313.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.01421, allocations: 26.73 kB / 313.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.01453, allocations: 263.6 kB / 314 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.01457, allocations: 87.45 kB / 314.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.0146, allocations: 20.48 kB / 314.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01461, allocations: 0 / 314.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of Templates: time 0.003654/0.01826, allocations: 3.586 MB / 317.7 MB, free: 4.652 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.55467520095408]