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.001425/0.001425, allocations: 84.06 kB / 21.43 MB, free: 288 kB / 14.72 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.001459/0.001459, allocations: 168.2 kB / 24.71 MB, free: 3.539 MB / 14.72 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 1.388/1.388, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.914e-06/1.914e-06, allocations: 0 / 298.9 MB, free: 8.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.046e-05, allocations: 2.281 kB / 298.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00252/0.00255, allocations: 1.334 MB / 300.3 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009759/0.01231, allocations: 6.503 MB / 306.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.01235, allocations: 0 / 306.8 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.01239, allocations: 3.938 kB / 306.8 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.0138, allocations: 298.7 kB / 307.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.01574, allocations: 0.7315 MB / 307.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.01584, allocations: 63.48 kB / 307.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.01589, allocations: 3.984 kB / 307.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.01603, allocations: 43.89 kB / 307.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008186/0.01685, allocations: 371.2 kB / 308.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.01687, allocations: 0 / 308.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.01821, allocations: 0.7249 MB / 309 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.01823, allocations: 4 kB / 309 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.01828, allocations: 23.91 kB / 309 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.01937, allocations: 0.6195 MB / 309.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01937, allocations: 0 / 309.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01937, allocations: 3.938 kB / 309.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.01938, allocations: 0 / 309.6 MB, free: 14.07 MB / 302.1 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.0006185/0.02, allocations: 397 kB / 310 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.02005, allocations: 15.98 kB / 310.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.0201, allocations: 4.922 kB / 310.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.02031, allocations: 129.7 kB / 310.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.02033, allocations: 8.375 kB / 310.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.02034, allocations: 4.312 kB / 310.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.02051, allocations: 59.95 kB / 310.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.02052, allocations: 192 / 310.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.02054, allocations: 12.12 kB / 310.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.02054, allocations: 4 kB / 310.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.02063, allocations: 15.98 kB / 310.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.0208, allocations: 118.3 kB / 310.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.02111, allocations: 73.12 kB / 310.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.02118, allocations: 25.77 kB / 310.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.02156, allocations: 119.9 kB / 310.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.0216, allocations: 38.5 kB / 310.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.0216, allocations: 0 / 310.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003052/0.0219, allocations: 85.55 kB / 310.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.02197, allocations: 85.05 kB / 310.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.02208, allocations: 117.8 kB / 310.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.0221, allocations: 25.7 kB / 311 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.02215, allocations: 84.12 kB / 311 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.02218, allocations: 23.8 kB / 311.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.02225, allocations: 17.72 kB / 311.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.0224, allocations: 322.8 kB / 311.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.239e-05/0.02247, allocations: 11.98 kB / 311.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.02255, allocations: 43.42 kB / 311.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.0227, allocations: 59.73 kB / 311.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0227, allocations: 0 / 311.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002216/0.02292, allocations: 85.55 kB / 311.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.02294, allocations: 6.5 kB / 311.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.02295, allocations: 8 kB / 311.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.02296, allocations: 7.875 kB / 311.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.02304, allocations: 23.98 kB / 311.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.02305, allocations: 4 kB / 311.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.02309, allocations: 0 / 311.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.02311, allocations: 7.984 kB / 311.7 MB, free: 11.85 MB / 302.1 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 9.646e-05/0.0232, allocations: 113.8 kB / 311.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.02322, allocations: 3.953 kB / 311.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.0236, allocations: 113.6 kB / 311.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.02361, allocations: 11.88 kB / 311.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.02362, allocations: 7.938 kB / 311.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.02362, allocations: 0 / 311.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.02376, allocations: 121.3 kB / 312 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02376, allocations: 0 / 312 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.02384, allocations: 11.98 kB / 312 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02385, allocations: 4 kB / 312 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.02386, allocations: 4 kB / 312 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.02386, allocations: 0 / 312 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02387, allocations: 4 kB / 312 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.0242, allocations: 149.8 kB / 312.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.02424, allocations: 15.91 kB / 312.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.02425, allocations: 0 / 312.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.995e-05/0.0243, allocations: 8 kB / 312.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.02434, allocations: 11.92 kB / 312.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.02435, allocations: 0 / 312.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.02441, allocations: 91.27 kB / 312.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02441, allocations: 0 / 312.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000503/0.02492, allocations: 171.4 kB / 312.5 MB, free: 10.95 MB / 302.1 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.0008739/0.02579, allocations: 398.6 kB / 312.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.02602, allocations: 55.89 kB / 312.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02602, allocations: 0 / 312.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.344e-05/0.02611, allocations: 27.92 kB / 312.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.02631, allocations: 15.98 kB / 313 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.0268, allocations: 241.9 kB / 313.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.02688, allocations: 75.58 kB / 313.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.02696, allocations: 31.91 kB / 313.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.027, allocations: 20.42 kB / 313.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.027, allocations: 7.938 kB / 313.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Templates: time 0.00894/0.03594, allocations: 3.82 MB / 317.2 MB, free: 6.215 MB / 302.1 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.458191283047199]