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.001378/0.001378, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001494/0.001494, allocations: 145.2 kB / 24.89 MB, free: 9.215 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.954/0.954, allocations: 173.4 MB / 201.5 MB, free: 9.199 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.552e-06/1.552e-06, allocations: 0 / 268.5 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.692e-05, allocations: 6.312 kB / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001812/0.001828, allocations: 1.392 MB / 269.9 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.005313, allocations: 4.005 MB / 273.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.005341, allocations: 4 kB / 273.9 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.005356, allocations: 4 kB / 273.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007542/0.006111, allocations: 306.6 kB / 274.2 MB, free: 480 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.006725, allocations: 0.5212 MB / 274.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.006799, allocations: 59.67 kB / 274.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.006835, allocations: 11.91 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005434/0.007379, allocations: 427.2 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.186e-05/0.00741, allocations: 19.97 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.007422, allocations: 0 / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.007963, allocations: 0.5416 MB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.007975, allocations: 4 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.007996, allocations: 23.91 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.008465, allocations: 482.7 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.008467, allocations: 0 / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.008468, allocations: 0 / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.008471, allocations: 0 / 276.2 MB, free: 14.39 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.0003174/0.008788, allocations: 347.9 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.008816, allocations: 8.031 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.008838, allocations: 4.938 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.008925, allocations: 125.7 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.008936, allocations: 384 / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.008952, allocations: 4.375 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.009041, allocations: 76.34 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.009047, allocations: 0 / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.009053, allocations: 0 / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.009057, allocations: 4 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.009079, allocations: 11.98 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.65e-05/0.009155, allocations: 70 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.009291, allocations: 69.05 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.009311, allocations: 21.7 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.009513, allocations: 131.9 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.00953, allocations: 34.56 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.009531, allocations: 0 / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001014/0.009633, allocations: 57.61 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.009665, allocations: 88.98 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.009714, allocations: 114.7 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.009723, allocations: 29.7 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.009743, allocations: 84.12 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.00977, allocations: 27.73 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.009796, allocations: 25.7 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.009858, allocations: 314.8 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.009869, allocations: 4 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.009894, allocations: 31.42 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.009938, allocations: 59.7 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.009939, allocations: 0 / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.644e-05/0.009996, allocations: 65.55 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.01001, allocations: 7.984 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.01001, allocations: 0 / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.01002, allocations: 4 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.883e-05/0.01006, allocations: 19.88 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.01006, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.01008, allocations: 11.98 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.01009, allocations: 8.062 kB / 278.1 MB, free: 12.36 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 4.341e-05/0.01013, allocations: 113.8 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.01014, allocations: 4 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.01026, allocations: 92.41 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.01027, allocations: 3.984 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01027, allocations: 3.938 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01027, allocations: 0 / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.516e-05/0.01034, allocations: 88.61 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01034, allocations: 4 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.01038, allocations: 11.98 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01038, allocations: 4 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.01038, allocations: 0 / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01038, allocations: 0 / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01038, allocations: 0 / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/0.01048, allocations: 115.4 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.0105, allocations: 11.97 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.01051, allocations: 8 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.01053, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.01055, allocations: 7.984 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.01056, allocations: 7.969 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.361e-05/0.01057, allocations: 12.86 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01057, allocations: 0 / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.01078, allocations: 139.5 kB / 278.7 MB, free: 11.68 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.0003832/0.01117, allocations: 304.2 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.01123, allocations: 40.77 kB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01123, allocations: 0 / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.01126, allocations: 32.89 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.436e-05/0.01135, allocations: 19.19 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.0118, allocations: 240 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.01183, allocations: 59.36 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.426e-05/0.01187, allocations: 31.78 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.01193, allocations: 71.36 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01193, allocations: 0 / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004488/0.01641, allocations: 3.682 MB / 283.1 MB, free: 7.227 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.673678691033274]