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.001303/0.001303, allocations: 110.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.001432/0.001432, allocations: 217.4 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.561/1.561, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2302/0.2302, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.002407/0.002407, allocations: 79.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2889, allocations: 65.98 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002557/0.2915, allocations: 1.218 MB / 0.5624 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.2922, allocations: 347 kB / 0.5627 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.253e-05/0.2922, allocations: 0 / 0.5627 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.2922, allocations: 0 / 0.5627 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.2922, allocations: 3.938 kB / 0.5627 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.2927, allocations: 63.81 kB / 0.5628 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.2927, allocations: 4 kB / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.2927, allocations: 0 / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.2928, allocations: 0 / 0.5628 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.293, allocations: 39.95 kB / 0.5628 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.293, allocations: 0 / 0.5628 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-06/0.293, allocations: 0 / 0.5628 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.293, allocations: 7.922 kB / 0.5628 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.293, allocations: 0 / 0.5628 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.482e-05/0.2931, allocations: 11.98 kB / 0.5628 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2931, allocations: 0 / 0.5628 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2931, allocations: 0 / 0.5628 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2931, allocations: 0 / 0.5628 GB, free: 3.324 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.0003442/0.2934, allocations: 315.4 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2935, allocations: 8.031 kB / 0.5631 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.2935, allocations: 4.938 kB / 0.5631 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2936, allocations: 168.4 kB / 0.5633 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.2936, allocations: 384 / 0.5633 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2936, allocations: 4.375 kB / 0.5633 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.057e-05/0.2937, allocations: 30.2 kB / 0.5633 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2937, allocations: 4.188 kB / 0.5633 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2937, allocations: 3.938 kB / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2938, allocations: 0 / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.2938, allocations: 0 / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.2941, allocations: 379.5 kB / 0.5637 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.2942, allocations: 173.1 kB / 0.5639 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.2943, allocations: 88.02 kB / 0.564 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.2943, allocations: 79.28 kB / 0.564 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.153e-05/0.2944, allocations: 109.9 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2944, allocations: 0 / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.431e-05/0.2944, allocations: 33.66 kB / 0.5642 GB, free: 1.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.2945, allocations: 126.7 kB / 0.5643 GB, free: 1.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.2946, allocations: 93.84 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2946, allocations: 25.7 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.2947, allocations: 84.14 kB / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2947, allocations: 0 / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.2947, allocations: 17.66 kB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2949, allocations: 315 kB / 0.5648 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.2949, allocations: 4 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.2949, allocations: 3.938 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.2949, allocations: 4.859 kB / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2949, allocations: 0 / 0.5648 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.901e-05/0.295, allocations: 41.62 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.295, allocations: 4 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.295, allocations: 3.984 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.295, allocations: 96 / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.2951, allocations: 4 kB / 0.5649 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2951, allocations: 4 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.2951, allocations: 0 / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.2951, allocations: 0 / 0.5649 GB, free: 1.008 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.0001097/0.2952, allocations: 193 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.2953, allocations: 105 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.2953, allocations: 111.9 kB / 0.5653 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.197e-05/0.2954, allocations: 184.2 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.411e-05/0.2955, allocations: 176.3 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.633e-05/0.2956, allocations: 192.2 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.2958, allocations: 401.2 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/0.2959, allocations: 101 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.2959, allocations: 110 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.364e-05/0.296, allocations: 180.3 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.2961, allocations: 180.2 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.913e-05/0.2962, allocations: 184.2 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.992e-05/0.2963, allocations: 180.3 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2964, allocations: 311.7 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.2965, allocations: 186.3 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.2966, allocations: 180.3 kB / 0.5677 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.318e-05/0.2967, allocations: 101 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.2968, allocations: 184.2 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.2969, allocations: 112.9 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.2969, allocations: 75.28 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2969, allocations: 0 / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.2971, allocations: 0 / 0.5682 GB, free: 13.41 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.0001391/0.2973, allocations: 182.5 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.2973, allocations: 7.938 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2973, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.2973, allocations: 4.156 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.2977, allocations: 459.6 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.298, allocations: 156.9 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.2983, allocations: 0.6768 MB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.2983, allocations: 0 / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.2983, allocations: 11.44 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2983, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of Templates: time 0.002072/0.3004, allocations: 172.8 kB / 0.5698 GB, free: 11.69 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 gbode -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.846374347805977] Failed to read output from testmodel.py, exit status != 0: 0.3086388632655144 0.331431266 0.033954716 Calling exit ...