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.000758/0.000758, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007368/0.0007368, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001753, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9363/0.9363, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07773/1.014, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.122e-06/1.122e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.468e-05, allocations: 5.688 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001563/0.001578, allocations: 1.453 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.004902, allocations: 4.064 MB / 250.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.00493, allocations: 0 / 250.2 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.004941, allocations: 11.92 kB / 250.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006983/0.005639, allocations: 286.7 kB / 250.5 MB, free: 8.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007685/0.006407, allocations: 493.8 kB / 251 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.006492, allocations: 67.59 kB / 251.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.045e-05/0.006523, allocations: 4 kB / 251.1 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.007108, allocations: 431.2 kB / 251.5 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.007147, allocations: 27.97 kB / 251.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.007157, allocations: 0 / 251.5 MB, free: 7.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.007872, allocations: 0.5804 MB / 252.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.007889, allocations: 4 kB / 252.1 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.007909, allocations: 15.94 kB / 252.1 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005316/0.00844, allocations: 418.9 kB / 252.5 MB, free: 6.375 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.008455, allocations: 3.984 kB / 252.5 MB, free: 6.371 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008456, allocations: 0 / 252.5 MB, free: 6.371 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.008469, allocations: 0 / 252.5 MB, free: 6.371 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.0005594/0.009028, allocations: 399.6 kB / 252.9 MB, free: 5.957 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.009064, allocations: 12.03 kB / 252.9 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.009098, allocations: 8.922 kB / 252.9 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.009238, allocations: 125.7 kB / 253.1 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.009255, allocations: 4.375 kB / 253.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.009275, allocations: 4.375 kB / 253.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.009389, allocations: 72.34 kB / 253.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.009397, allocations: 8 kB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.009405, allocations: 4 kB / 253.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.009412, allocations: 0 / 253.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.009436, allocations: 15.98 kB / 253.2 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.047e-05/0.009526, allocations: 69.86 kB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.009685, allocations: 73.12 kB / 253.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.009702, allocations: 13.72 kB / 253.3 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.009928, allocations: 127.9 kB / 253.4 MB, free: 5.348 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.009951, allocations: 34.56 kB / 253.5 MB, free: 5.305 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.009952, allocations: 0 / 253.5 MB, free: 5.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001236/0.01008, allocations: 61.61 kB / 253.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.01012, allocations: 89.05 kB / 253.6 MB, free: 5.133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.01018, allocations: 114.7 kB / 253.7 MB, free: 5.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.01019, allocations: 25.7 kB / 253.8 MB, free: 4.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.01021, allocations: 88.08 kB / 253.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.01024, allocations: 23.78 kB / 253.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.01027, allocations: 21.7 kB / 253.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.01034, allocations: 318.8 kB / 254.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.01035, allocations: 11.94 kB / 254.2 MB, free: 4.504 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.01037, allocations: 31.75 kB / 254.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.01042, allocations: 47.34 kB / 254.3 MB, free: 4.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01042, allocations: 4 kB / 254.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.29e-05/0.01048, allocations: 57.61 kB / 254.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01049, allocations: 6.344 kB / 254.4 MB, free: 4.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.0105, allocations: 4.156 kB / 254.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01052, allocations: 0 / 254.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.01056, allocations: 27.86 kB / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01057, allocations: 3.984 kB / 254.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.01059, allocations: 8 kB / 254.4 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.0106, allocations: 4.062 kB / 254.4 MB, free: 4.285 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 5.166e-05/0.01065, allocations: 117.8 kB / 254.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.01066, allocations: 8 kB / 254.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.01081, allocations: 88.41 kB / 254.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.01081, allocations: 0.5625 kB / 254.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01082, allocations: 3.938 kB / 254.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01082, allocations: 0 / 254.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.027e-05/0.01089, allocations: 88.66 kB / 254.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.01089, allocations: 4 kB / 254.7 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.01094, allocations: 19.92 kB / 254.7 MB, free: 3.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01096, allocations: 19.91 kB / 254.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01096, allocations: 0 / 254.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.01097, allocations: 4 kB / 254.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01097, allocations: 0 / 254.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01097, allocations: 3.938 kB / 254.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.01108, allocations: 107.6 kB / 254.9 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.0111, allocations: 3.984 kB / 254.9 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.01111, allocations: 4 kB / 254.9 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.01114, allocations: 11.95 kB / 254.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01115, allocations: 11.94 kB / 254.9 MB, free: 3.742 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.683e-05/0.01116, allocations: 12.84 kB / 254.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 254.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.01147, allocations: 143.5 kB / 255 MB, free: 3.586 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.0004076/0.01188, allocations: 299.6 kB / 255.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.01197, allocations: 40.92 kB / 255.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.01198, allocations: 0 / 255.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.01202, allocations: 37.03 kB / 255.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.01215, allocations: 79.58 kB / 255.5 MB, free: 3.113 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.01341, allocations: 207.7 kB / 255.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.01344, allocations: 59.36 kB / 255.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.01349, allocations: 27.59 kB / 255.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.01355, allocations: 71.34 kB / 255.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01355, allocations: 0 / 255.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of Templates: time 0.004717/0.01827, allocations: 3.853 MB / 259.7 MB, free: 14.92 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4028890151530504]