Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.0014/0.0014, allocations: 105 kB / 19.74 MB, free: 2.566 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.001556/0.001556, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.292/1.292, allocations: 230.2 MB / 256.1 MB, free: 8.773 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.1978/0.1978, allocations: 46.89 MB / 359.3 MB, free: 5.012 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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",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.002118/0.002118, allocations: 83.86 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2624, allocations: 65.98 MB / 0.5585 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002918/0.2653, allocations: 1.834 MB / 0.5603 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.2671, allocations: 1.12 MB / 0.5614 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.2671, allocations: 3.938 kB / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.2676, allocations: 303.3 kB / 0.5617 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.2681, allocations: 251.2 kB / 0.5619 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2683, allocations: 107.6 kB / 0.562 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.2686, allocations: 259.3 kB / 0.5622 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.2687, allocations: 9.688 kB / 0.5622 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.2689, allocations: 135.5 kB / 0.5624 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2691, allocations: 207.9 kB / 0.5626 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.2691, allocations: 8 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2693, allocations: 51.97 kB / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2694, allocations: 136.5 kB / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.2695, allocations: 146.8 kB / 0.5629 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.2699, allocations: 376 kB / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2699, allocations: 0 / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2699, allocations: 0 / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.27, allocations: 0 / 0.5633 GB, free: 308 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000936/0.2709, allocations: 0.7539 MB / 0.564 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2709, allocations: 12.03 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.271, allocations: 34.75 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.271, allocations: 52.61 kB / 0.5641 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.2716, allocations: 452.3 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2716, allocations: 384 / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.2716, allocations: 7.938 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2718, allocations: 99.3 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2718, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2719, allocations: 4 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.2719, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.272, allocations: 31.97 kB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003868/0.2724, allocations: 370.4 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.2726, allocations: 105.1 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.2727, allocations: 37.7 kB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.2727, allocations: 0 / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.2729, allocations: 117 kB / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.2729, allocations: 0 / 0.5653 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.2734, allocations: 201.2 kB / 0.5655 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2735, allocations: 81.11 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.2745, allocations: 1.022 MB / 0.5665 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2746, allocations: 33.7 kB / 0.5666 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.2747, allocations: 232.1 kB / 0.5668 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.2748, allocations: 31.78 kB / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2748, allocations: 29.7 kB / 0.5668 GB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.275, allocations: 366.8 kB / 0.5672 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.2751, allocations: 23.98 kB / 0.5672 GB, free: 11.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.2752, allocations: 74.84 kB / 0.5673 GB, free: 11.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2753, allocations: 83.42 kB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2753, allocations: 3.938 kB / 0.5674 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.2756, allocations: 173.8 kB / 0.5675 GB, free: 11.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2756, allocations: 12 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2756, allocations: 8 kB / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2757, allocations: 0 / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2758, allocations: 23.98 kB / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.2758, allocations: 0 / 0.5676 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.2759, allocations: 19.83 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.2759, allocations: 7.984 kB / 0.5676 GB, free: 11.55 MB / 414.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002014/0.2761, allocations: 230.5 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.2761, allocations: 51.67 kB / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.2765, allocations: 201.7 kB / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2765, allocations: 0 / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2765, allocations: 0 / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2765, allocations: 0 / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.2768, allocations: 349.4 kB / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2768, allocations: 0 / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.2768, allocations: 8 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2769, allocations: 3.984 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2769, allocations: 8 kB / 0.5684 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2769, allocations: 4 kB / 0.5684 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2769, allocations: 3.938 kB / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.2772, allocations: 209.5 kB / 0.5686 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.2773, allocations: 144.7 kB / 0.5688 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.2774, allocations: 3.984 kB / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.2774, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2775, allocations: 19.92 kB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.2775, allocations: 12.12 kB / 0.5688 GB, free: 10.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007661/0.2783, allocations: 0.7604 MB / 0.5695 GB, free: 9.461 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2783, allocations: 0 / 0.5695 GB, free: 9.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.2785, allocations: 43.98 kB / 0.5696 GB, free: 9.418 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001882/0.2804, allocations: 1.05 MB / 0.5706 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.2806, allocations: 79.91 kB / 0.5707 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2806, allocations: 0 / 0.5707 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2807, allocations: 36.3 kB / 0.5707 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2811, allocations: 84.52 kB / 0.5708 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.2862, allocations: 4.488 MB / 0.5752 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.2866, allocations: 0.8388 MB / 0.576 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.2867, allocations: 62.94 kB / 0.5761 GB, free: 2.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.2869, allocations: 151.4 kB / 0.5762 GB, free: 2.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2869, allocations: 0 / 0.5762 GB, free: 2.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3175, allocations: 9.025 MB / 0.585 GB, free: 9.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/7.964, allocations: 2.969 kB / 0.585 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.419819080998423]