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.001027/0.001027, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.002147, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009162/0.0009162, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002188, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8926/0.8926, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07896/0.9716, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.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.183e-06/1.183e-06, allocations: 0 / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.131e-05, allocations: 6.875 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001353/0.001365, allocations: 1.425 MB / 241 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.004681, allocations: 4.026 MB / 245 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.004706, allocations: 3.938 kB / 245 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.004716, allocations: 7.922 kB / 245 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.005289, allocations: 286.7 kB / 245.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.005843, allocations: 493.8 kB / 245.8 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.005914, allocations: 63.59 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.005945, allocations: 3.938 kB / 245.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.006463, allocations: 427.3 kB / 246.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.006497, allocations: 23.97 kB / 246.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.006509, allocations: 4 kB / 246.3 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005566/0.007066, allocations: 0.5796 MB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.007075, allocations: 4 kB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.007093, allocations: 11.94 kB / 246.9 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.007515, allocations: 419 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.007526, allocations: 0 / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007527, allocations: 0 / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.007538, allocations: 0 / 247.3 MB, free: 11.42 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.00037/0.007908, allocations: 403.6 kB / 247.7 MB, free: 11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.007936, allocations: 15.89 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.007963, allocations: 0.9375 kB / 247.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.008057, allocations: 129.6 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.008073, allocations: 8.375 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.008087, allocations: 384 / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.612e-05/0.008173, allocations: 72.41 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.008179, allocations: 0 / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.008186, allocations: 4 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.00819, allocations: 0 / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.691e-05/0.008217, allocations: 19.91 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.72e-05/0.008294, allocations: 73.89 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.00844, allocations: 65.22 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.008457, allocations: 17.7 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.008658, allocations: 127.9 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.008675, allocations: 38.5 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.008676, allocations: 0 / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 9.713e-05/0.008773, allocations: 61.61 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.008803, allocations: 81.05 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.008852, allocations: 122.7 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.00886, allocations: 25.7 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.00888, allocations: 88.12 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.00891, allocations: 23.78 kB / 248.6 MB, free: 9.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.008935, allocations: 25.67 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.009003, allocations: 318.8 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.009014, allocations: 7.938 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.009034, allocations: 31.42 kB / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.009076, allocations: 51.34 kB / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.009077, allocations: 0 / 249.1 MB, free: 9.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.678e-05/0.009134, allocations: 69.55 kB / 249.1 MB, free: 9.371 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.009145, allocations: 7.984 kB / 249.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.009149, allocations: 4 kB / 249.1 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.122e-06/0.009155, allocations: 0 / 249.1 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.009198, allocations: 19.94 kB / 249.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.009202, allocations: 3.984 kB / 249.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.009222, allocations: 4 kB / 249.2 MB, free: 9.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.009228, allocations: 4.062 kB / 249.2 MB, free: 9.328 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.337e-05/0.009271, allocations: 117.8 kB / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.009279, allocations: 8.406 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.009416, allocations: 99.98 kB / 249.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.009423, allocations: 8 kB / 249.4 MB, free: 9.086 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.009426, allocations: 3.938 kB / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.009428, allocations: 0 / 249.4 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.279e-05/0.009491, allocations: 80.66 kB / 249.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009493, allocations: 0 / 249.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.009533, allocations: 19.98 kB / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.009551, allocations: 15.94 kB / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.009553, allocations: 0 / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.009558, allocations: 0 / 249.5 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.009559, allocations: 4 kB / 249.5 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.009562, allocations: 3.938 kB / 249.5 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.493e-05/0.009657, allocations: 111.5 kB / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.009667, allocations: 0 / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.00968, allocations: 0 / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.009706, allocations: 11.98 kB / 249.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.00971, allocations: 7.969 kB / 249.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.255e-05/0.009723, allocations: 16.84 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009723, allocations: 0 / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.009944, allocations: 135.5 kB / 249.8 MB, free: 8.637 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.0003945/0.01034, allocations: 310.8 kB / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.01041, allocations: 40.75 kB / 250.1 MB, free: 8.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01041, allocations: 4 kB / 250.1 MB, free: 8.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.01044, allocations: 28.92 kB / 250.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.662e-05/0.01053, allocations: 23.92 kB / 250.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.01173, allocations: 224.4 kB / 250.4 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.562e-05/0.01176, allocations: 59.34 kB / 250.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.01181, allocations: 27.84 kB / 250.5 MB, free: 7.887 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.01186, allocations: 67.36 kB / 250.6 MB, free: 7.82 MB / 250.7 MB Notification: Performance of SimCode: time 4e-07/0.01186, allocations: 3.938 kB / 250.6 MB, free: 7.816 MB / 250.7 MB Notification: Performance of Templates: time 0.004848/0.01671, allocations: 3.802 MB / 254.4 MB, free: 4.07 MB / 250.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 -ignoreHideResult -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.26499214861542]