Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001724/0.001724, allocations: 78.11 kB / 20.5 MB, free: 1.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 164.1 kB / 23.75 MB, free: 4.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 177.1 MB / 204 MB, free: 9.234 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 62.36 kB / 324.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09343, allocations: 53.38 MB / 378.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002676/0.09611, allocations: 1.346 MB / 379.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006173/0.1023, allocations: 3.736 MB / 383.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.1023, allocations: 0 / 383.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.1024, allocations: 3.984 kB / 383.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1038, allocations: 294.9 kB / 383.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1053, allocations: 0.5174 MB / 384 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1055, allocations: 59.66 kB / 384.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1055, allocations: 4 kB / 384.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1057, allocations: 47.83 kB / 384.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008619/0.1065, allocations: 371.3 kB / 384.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1065, allocations: 0 / 384.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.1077, allocations: 0.5341 MB / 385 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1078, allocations: 15.92 kB / 385.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1078, allocations: 19.86 kB / 385.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1088, allocations: 434.9 kB / 385.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1088, allocations: 0 / 385.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1088, allocations: 0 / 385.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1088, allocations: 4 kB / 385.5 MB, free: 8.371 MB / 350.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.0006154/0.1094, allocations: 369.3 kB / 385.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1095, allocations: 11.98 kB / 385.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1095, allocations: 4.938 kB / 385.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1097, allocations: 130.4 kB / 386 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1097, allocations: 8.375 kB / 386 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1098, allocations: 7.938 kB / 386 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1099, allocations: 63.33 kB / 386.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1099, allocations: 0 / 386.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.11, allocations: 7.984 kB / 386.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.11, allocations: 4 kB / 386.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.1101, allocations: 11.98 kB / 386.1 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1102, allocations: 118.3 kB / 386.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1105, allocations: 85.06 kB / 386.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.1106, allocations: 25.77 kB / 386.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.111, allocations: 123.8 kB / 386.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.111, allocations: 34.5 kB / 386.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.111, allocations: 0 / 386.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003168/0.1113, allocations: 81.61 kB / 386.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1114, allocations: 85.05 kB / 386.6 MB, free: 7.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1115, allocations: 109.8 kB / 386.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.1115, allocations: 29.7 kB / 386.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.1116, allocations: 88.12 kB / 386.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1116, allocations: 23.84 kB / 386.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1117, allocations: 21.7 kB / 386.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1118, allocations: 318.8 kB / 387.2 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.1119, allocations: 15.98 kB / 387.2 MB, free: 6.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.112, allocations: 35.42 kB / 387.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1121, allocations: 59.36 kB / 387.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1121, allocations: 0 / 387.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002083/0.1123, allocations: 89.5 kB / 387.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1123, allocations: 7.984 kB / 387.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1123, allocations: 0 / 387.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1124, allocations: 4.469 kB / 387.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.1124, allocations: 19.94 kB / 387.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1124, allocations: 0 / 387.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.1125, allocations: 15.86 kB / 387.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.1125, allocations: 8 kB / 387.5 MB, free: 6.172 MB / 350.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 8.292e-05/0.1126, allocations: 109.9 kB / 387.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1126, allocations: 11.89 kB / 387.6 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.113, allocations: 132.8 kB / 387.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.113, allocations: 0 / 387.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.113, allocations: 4 kB / 387.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.113, allocations: 0 / 387.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.1131, allocations: 113.3 kB / 387.8 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1131, allocations: 4 kB / 387.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.1132, allocations: 15.98 kB / 387.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1132, allocations: 3.938 kB / 387.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1132, allocations: 4 kB / 387.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1132, allocations: 0 / 387.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1132, allocations: 0 / 387.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.1136, allocations: 153.8 kB / 388 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1136, allocations: 23.84 kB / 388 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1136, allocations: 3.938 kB / 388 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.1137, allocations: 4 kB / 388 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1137, allocations: 8.047 kB / 388.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1137, allocations: 8 kB / 388.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.1138, allocations: 87.27 kB / 388.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1138, allocations: 0 / 388.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.1142, allocations: 135.5 kB / 388.3 MB, free: 5.301 MB / 350.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.0005413/0.1148, allocations: 278.7 kB / 388.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.115, allocations: 52.69 kB / 388.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.115, allocations: 0 / 388.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.1151, allocations: 31.91 kB / 388.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1153, allocations: 16.12 kB / 388.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.1158, allocations: 286.9 kB / 388.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.379e-05/0.1159, allocations: 67.34 kB / 389 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.855e-05/0.1159, allocations: 34.97 kB / 389 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.116, allocations: 20.42 kB / 389.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.116, allocations: 4 kB / 389.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of Templates: time 0.007079/0.1231, allocations: 3.085 MB / 392.1 MB, free: 1.426 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.495706869289279] Failed to read output from testmodel.py, exit status != 0: ['time', 'h1', 's1'] 0.13137482851743698 0.147471864 0.035315369 Calling exit ...