Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001157/0.001157, allocations: 109.8 kB / 19.74 MB, free: 2.582 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.001284/0.001284, allocations: 217.2 kB / 22.92 MB, free: 5.562 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.28/1.28, allocations: 230.2 MB / 256.1 MB, free: 8.605 MB / 206.1 MB " [Timeout remaining time 179] 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.2051/0.2051, allocations: 46.89 MB / 359.3 MB, free: 4.945 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) [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.002108/0.002108, allocations: 87.84 kB / 0.4941 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2564, allocations: 65.99 MB / 0.5585 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002988/0.2594, allocations: 1.763 MB / 0.5602 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2611, allocations: 1.042 MB / 0.5613 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.2611, allocations: 3.938 kB / 0.5613 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.2614, allocations: 55.75 kB / 0.5613 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.2617, allocations: 103.6 kB / 0.5614 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2619, allocations: 79.66 kB / 0.5615 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.2621, allocations: 131.7 kB / 0.5616 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.2622, allocations: 17.75 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2623, allocations: 51.78 kB / 0.5617 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.2624, allocations: 59.69 kB / 0.5617 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2625, allocations: 4 kB / 0.5617 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.2626, allocations: 59.98 kB / 0.5618 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.2626, allocations: 39.89 kB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.2627, allocations: 39.69 kB / 0.5619 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2629, allocations: 147.4 kB / 0.562 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2629, allocations: 3.938 kB / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2629, allocations: 0 / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2629, allocations: 0 / 0.562 GB, free: 1.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005518/0.2635, allocations: 442.5 kB / 0.5624 GB, free: 1.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2635, allocations: 12.03 kB / 0.5624 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.2636, allocations: 34.75 kB / 0.5625 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.2636, allocations: 20.84 kB / 0.5625 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.2639, allocations: 224.1 kB / 0.5627 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2639, allocations: 8.297 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.2639, allocations: 11.94 kB / 0.5627 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.2641, allocations: 77.59 kB / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2641, allocations: 0 / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2641, allocations: 0 / 0.5628 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2641, allocations: 4 kB / 0.5628 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.2642, allocations: 39.97 kB / 0.5629 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.2646, allocations: 328.7 kB / 0.5632 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.2649, allocations: 74.55 kB / 0.5632 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.265, allocations: 28.84 kB / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.265, allocations: 4 kB / 0.5633 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.2651, allocations: 91.41 kB / 0.5634 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2651, allocations: 0 / 0.5634 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008156/0.266, allocations: 297.3 kB / 0.5636 GB, free: 15.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.266, allocations: 55.34 kB / 0.5637 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.2662, allocations: 202.1 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.2662, allocations: 25.7 kB / 0.5639 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2663, allocations: 104.4 kB / 0.564 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.2663, allocations: 51.55 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.2664, allocations: 33.66 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.2665, allocations: 326.8 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.2666, allocations: 35.97 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.2667, allocations: 53.7 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2669, allocations: 93.7 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2669, allocations: 4 kB / 0.5646 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000255/0.2671, allocations: 157.5 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2671, allocations: 4 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2671, allocations: 0 / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2671, allocations: 3.984 kB / 0.5647 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.2672, allocations: 27.88 kB / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2672, allocations: 4 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.2673, allocations: 3.984 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2673, allocations: 11.94 kB / 0.5648 GB, free: 14.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001027/0.2674, allocations: 129.9 kB / 0.5649 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.2674, allocations: 19.89 kB / 0.5649 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.2678, allocations: 182.5 kB / 0.5651 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2678, allocations: 7.938 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2678, allocations: 0 / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2678, allocations: 0.8438 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005586/0.2683, allocations: 488 kB / 0.5656 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2683, allocations: 0 / 0.5656 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.2684, allocations: 27.92 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2684, allocations: 0 / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2684, allocations: 8 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2684, allocations: 0 / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2684, allocations: 0 / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.2687, allocations: 257.1 kB / 0.5659 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.2688, allocations: 93 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2688, allocations: 7.938 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.2689, allocations: 7.984 kB / 0.566 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2689, allocations: 15.92 kB / 0.566 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2689, allocations: 4 kB / 0.566 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.2691, allocations: 152.8 kB / 0.5661 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2691, allocations: 4 kB / 0.5661 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.2693, allocations: 35.89 kB / 0.5662 GB, free: 12.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00225/0.2716, allocations: 1.189 MB / 0.5673 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.2718, allocations: 87.91 kB / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2718, allocations: 0 / 0.5674 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.2719, allocations: 43.92 kB / 0.5674 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2722, allocations: 35.97 kB / 0.5675 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2742, allocations: 1.868 MB / 0.5693 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2745, allocations: 0.72 MB / 0.57 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.2746, allocations: 29.41 kB / 0.57 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.2747, allocations: 51.34 kB / 0.5701 GB, free: 8.945 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2747, allocations: 0 / 0.5701 GB, free: 8.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.2996, allocations: 4.076 MB / 0.5741 GB, free: 4.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.998/7.297, allocations: 3.781 kB / 0.5741 GB, free: 4.898 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.836298948997864]