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.001129/0.001129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001725/0.002854, allocations: 449.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.001282/0.001282, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001547/0.00283, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9474/0.9474, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07565/1.023, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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.644e-06/1.644e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.221e-05, allocations: 6.25 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002303/0.002325, allocations: 1.453 MB / 246 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00515/0.007475, allocations: 4.068 MB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.00751, allocations: 0 / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.007525, allocations: 3.938 kB / 250 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.008638, allocations: 290.7 kB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000916/0.009554, allocations: 489.8 kB / 250.8 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.009649, allocations: 59.67 kB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.009683, allocations: 4 kB / 250.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.01025, allocations: 435.2 kB / 251.3 MB, free: 7.523 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.01029, allocations: 27.91 kB / 251.3 MB, free: 7.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.0103, allocations: 0 / 251.3 MB, free: 7.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.01103, allocations: 0.5807 MB / 251.9 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.01104, allocations: 7.938 kB / 251.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.01106, allocations: 12 kB / 251.9 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.01164, allocations: 415 kB / 252.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.01166, allocations: 0 / 252.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01166, allocations: 0 / 252.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.01167, allocations: 0 / 252.3 MB, free: 6.488 MB / 250.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.0004106/0.01208, allocations: 399.6 kB / 252.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.01211, allocations: 12.03 kB / 252.7 MB, free: 6.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.01214, allocations: 8.875 kB / 252.7 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.01224, allocations: 133.6 kB / 252.9 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.01226, allocations: 8.375 kB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.01227, allocations: 4.359 kB / 252.9 MB, free: 5.887 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.81e-05/0.01237, allocations: 72.41 kB / 252.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.01238, allocations: 4 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.01238, allocations: 0 / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01239, allocations: 0 / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.01242, allocations: 15.88 kB / 253 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.841e-05/0.0125, allocations: 73.84 kB / 253 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.01267, allocations: 73.2 kB / 253.1 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.01269, allocations: 17.66 kB / 253.1 MB, free: 5.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.0129, allocations: 127.9 kB / 253.2 MB, free: 5.453 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.01292, allocations: 34.56 kB / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.01292, allocations: 0 / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001069/0.01303, allocations: 65.59 kB / 253.3 MB, free: 5.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01307, allocations: 81.05 kB / 253.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.01311, allocations: 114.7 kB / 253.5 MB, free: 5.117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.01312, allocations: 25.7 kB / 253.6 MB, free: 5.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.01315, allocations: 88.14 kB / 253.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01317, allocations: 23.78 kB / 253.7 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.0132, allocations: 25.7 kB / 253.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.01327, allocations: 314.8 kB / 254 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.01328, allocations: 11.98 kB / 254 MB, free: 4.613 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.0133, allocations: 31.75 kB / 254 MB, free: 4.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.01334, allocations: 47.7 kB / 254.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01334, allocations: 4 kB / 254.1 MB, free: 4.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.858e-05/0.0134, allocations: 73.53 kB / 254.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.01341, allocations: 4 kB / 254.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01342, allocations: 4.156 kB / 254.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.01343, allocations: 0 / 254.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.01348, allocations: 23.92 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01349, allocations: 3.984 kB / 254.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.01351, allocations: 4 kB / 254.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.01351, allocations: 0 / 254.2 MB, free: 4.391 MB / 250.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 4.568e-05/0.01356, allocations: 117.8 kB / 254.3 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.01357, allocations: 8.047 kB / 254.3 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.01371, allocations: 92.28 kB / 254.4 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.01372, allocations: 8 kB / 254.4 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01372, allocations: 3.938 kB / 254.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01372, allocations: 0 / 254.4 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.351e-05/0.01379, allocations: 84.66 kB / 254.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01379, allocations: 0 / 254.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.01383, allocations: 15.98 kB / 254.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01385, allocations: 15.88 kB / 254.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.01385, allocations: 0 / 254.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.01386, allocations: 7.984 kB / 254.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.01386, allocations: 4 kB / 254.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01386, allocations: 3.938 kB / 254.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.01396, allocations: 107.5 kB / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.01397, allocations: 0 / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/0.01399, allocations: 0 / 254.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.01401, allocations: 11.98 kB / 254.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01402, allocations: 7.938 kB / 254.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.01403, allocations: 16.83 kB / 254.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01403, allocations: 0 / 254.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.01427, allocations: 147.6 kB / 254.8 MB, free: 3.695 MB / 250.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.0003484/0.01462, allocations: 291.9 kB / 255.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.242e-05/0.01469, allocations: 40.77 kB / 255.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.0147, allocations: 0 / 255.2 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.01473, allocations: 28.78 kB / 255.2 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.812e-05/0.01482, allocations: 26.73 kB / 255.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.0161, allocations: 207.8 kB / 255.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.753e-05/0.01613, allocations: 59.34 kB / 255.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01618, allocations: 31.59 kB / 255.5 MB, free: 2.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.01623, allocations: 71.3 kB / 255.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01623, allocations: 0 / 255.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of Templates: time 0.004718/0.02095, allocations: 3.851 MB / 259.4 MB, free: 15.1 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 -ignoreHideResult -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.481755781918764]