Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001409/0.001409, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001513/0.001513, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.536/1.536, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2359/0.2359, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 79.86 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3588, allocations: 65.99 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003023/0.3618, allocations: 1.218 MB / 0.5624 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009396/0.3627, allocations: 348.1 kB / 0.5627 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.3628, allocations: 4 kB / 0.5627 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.3628, allocations: 0 / 0.5627 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.3628, allocations: 3.938 kB / 0.5627 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.3633, allocations: 55.81 kB / 0.5628 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.3634, allocations: 4 kB / 0.5628 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.3635, allocations: 7.984 kB / 0.5628 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.3635, allocations: 0 / 0.5628 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3637, allocations: 35.95 kB / 0.5628 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.3637, allocations: 0 / 0.5628 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-06/0.3638, allocations: 4 kB / 0.5628 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3638, allocations: 3.938 kB / 0.5628 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.3638, allocations: 8 kB / 0.5628 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.802e-05/0.3638, allocations: 3.984 kB / 0.5628 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3639, allocations: 0 / 0.5628 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3639, allocations: 0 / 0.5628 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3639, allocations: 0 / 0.5628 GB, free: 3.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000391/0.3643, allocations: 315.4 kB / 0.5631 GB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3643, allocations: 12.03 kB / 0.5631 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.3643, allocations: 0.9375 kB / 0.5631 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3645, allocations: 164.4 kB / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3645, allocations: 384 / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.3645, allocations: 384 / 0.5633 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.3646, allocations: 34.27 kB / 0.5633 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3646, allocations: 4.125 kB / 0.5633 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3646, allocations: 3.938 kB / 0.5633 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.3646, allocations: 0 / 0.5633 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.3647, allocations: 0 / 0.5633 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.3651, allocations: 383.5 kB / 0.5637 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3653, allocations: 169.1 kB / 0.5639 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3653, allocations: 80.14 kB / 0.564 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.3654, allocations: 83.25 kB / 0.564 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.3654, allocations: 109.8 kB / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3654, allocations: 0 / 0.5641 GB, free: 1.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 9.389e-05/0.3655, allocations: 33.64 kB / 0.5642 GB, free: 1.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.3656, allocations: 130.7 kB / 0.5643 GB, free: 1.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3657, allocations: 93.86 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3658, allocations: 25.7 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.3658, allocations: 80.14 kB / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.3658, allocations: 0 / 0.5645 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.3659, allocations: 21.72 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.366, allocations: 314.8 kB / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.366, allocations: 0 / 0.5648 GB, free: 1.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.366, allocations: 3.938 kB / 0.5648 GB, free: 1.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.3661, allocations: 16.84 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3661, allocations: 0 / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001129/0.3662, allocations: 33.64 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3662, allocations: 8.094 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3662, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3662, allocations: 0 / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.3663, allocations: 4 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3663, allocations: 0 / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.3663, allocations: 0 / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3663, allocations: 0 / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 0.0001419/0.3665, allocations: 193 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.94e-05/0.3665, allocations: 109 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.3666, allocations: 115.9 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.03e-05/0.3667, allocations: 180.2 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-05/0.3668, allocations: 180.3 kB / 0.5656 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.343e-05/0.3669, allocations: 180.3 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.3672, allocations: 409.1 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.162e-05/0.3673, allocations: 105 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.3674, allocations: 110 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.695e-05/0.3675, allocations: 176.3 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.3676, allocations: 184.2 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.925e-05/0.3677, allocations: 176.3 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.169e-05/0.3678, allocations: 180.3 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.368, allocations: 311.7 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3681, allocations: 186.3 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.3683, allocations: 176.3 kB / 0.5677 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3684, allocations: 105 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3686, allocations: 196.2 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.3686, allocations: 105 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.3687, allocations: 75.28 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3691, allocations: 0 / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001667/0.3692, allocations: 174.5 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.088e-05/0.3693, allocations: 12.03 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3693, allocations: 0 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.3693, allocations: 0 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.3698, allocations: 466.5 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3701, allocations: 164.8 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3704, allocations: 0.6729 MB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.955e-05/0.3705, allocations: 0 / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.3705, allocations: 7.438 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3705, allocations: 0 / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.002608/0.3731, allocations: 175.6 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.886830888688564] Failed to read output from testmodel.py, exit status != 0: 0.38273570872843266 0.403173956 0.035125181000000005 Calling exit ...