Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004599/0.004599, allocations: 143.8 kB / 24.97 MB, free: 8.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9365/0.9365, allocations: 173.3 MB / 201.5 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.169e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001663/0.001685, allocations: 1.386 MB / 269.4 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003647/0.005331, allocations: 4.005 MB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.00537, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.005389, allocations: 0 / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008806/0.006269, allocations: 302.7 kB / 273.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.007088, allocations: 0.5212 MB / 274.3 MB, free: 476 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.138e-05/0.00717, allocations: 59.64 kB / 274.3 MB, free: 416 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.007203, allocations: 4 kB / 274.3 MB, free: 412 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.66e-05/0.0073, allocations: 47.83 kB / 274.4 MB, free: 364 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.007803, allocations: 359.3 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.007815, allocations: 0 / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.0085, allocations: 0.5493 MB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.008512, allocations: 4 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.008542, allocations: 27.91 kB / 275.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.009245, allocations: 470.8 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.009249, allocations: 0 / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00925, allocations: 0 / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.009254, allocations: 0 / 275.8 MB, free: 14.96 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.0004497/0.009703, allocations: 471.5 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.009738, allocations: 12.03 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.009787, allocations: 12.89 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.009951, allocations: 136.5 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.009968, allocations: 384 / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.009988, allocations: 8.375 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.01012, allocations: 74.08 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.01012, allocations: 0 / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.01013, allocations: 4 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.01014, allocations: 7.984 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.01018, allocations: 19.91 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.01033, allocations: 124.3 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.01054, allocations: 90.19 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.01057, allocations: 23.42 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002984/0.01087, allocations: 135.9 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.01089, allocations: 33.39 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.01089, allocations: 0 / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001869/0.01108, allocations: 81.5 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.01112, allocations: 77.11 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.01121, allocations: 173.9 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.01122, allocations: 25.7 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.01126, allocations: 130.9 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.01129, allocations: 19.8 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.01133, allocations: 35.36 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.01145, allocations: 496.1 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.01147, allocations: 7.984 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.01151, allocations: 50.62 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.177e-05/0.01158, allocations: 58.73 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01159, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001157/0.0117, allocations: 78.02 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01172, allocations: 12.06 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01172, allocations: 3.938 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01174, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.0118, allocations: 15.98 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.0118, allocations: 4 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.01183, allocations: 3.953 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01184, allocations: 4 kB / 278.1 MB, free: 12.31 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.872e-05/0.01191, allocations: 164.5 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.01193, allocations: 7.984 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.01214, allocations: 129 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.01215, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01215, allocations: 0 / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01216, allocations: 4 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.01225, allocations: 128.6 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01226, allocations: 0 / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.01231, allocations: 8 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01232, allocations: 7.984 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01233, allocations: 0 / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01233, allocations: 3.938 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01233, allocations: 7.938 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.0125, allocations: 128.1 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.01252, allocations: 7.984 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01254, allocations: 0 / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.707e-05/0.01256, allocations: 11.94 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.0126, allocations: 7.984 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.0126, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.01266, allocations: 135.7 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01266, allocations: 0 / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.01303, allocations: 131.5 kB / 279 MB, free: 11.37 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.0005365/0.01357, allocations: 325 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01369, allocations: 43.59 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01369, allocations: 0 / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/0.01374, allocations: 27.67 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01392, allocations: 15.17 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.0146, allocations: 273.7 kB / 279.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.01464, allocations: 63.34 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.095e-05/0.0147, allocations: 23.73 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.01474, allocations: 20.48 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01474, allocations: 0 / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of Templates: time 0.005634/0.02037, allocations: 3.143 MB / 282.9 MB, free: 7.426 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6678607328794897]