Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001422/0.001422, 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.001591/0.001591, allocations: 214.8 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.298/1.298, allocations: 230.2 MB / 256.1 MB, free: 8.77 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.1998/0.1998, allocations: 46.88 MB / 359.3 MB, free: 5.004 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.002156/0.002156, allocations: 79.86 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2613, allocations: 65.98 MB / 0.5585 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003347/0.2646, allocations: 2.294 MB / 0.5608 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2667, allocations: 1.35 MB / 0.5621 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2668, allocations: 7.938 kB / 0.5621 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.2671, allocations: 139.3 kB / 0.5622 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.2676, allocations: 254.9 kB / 0.5625 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.268, allocations: 195.5 kB / 0.5626 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.2684, allocations: 462.6 kB / 0.5631 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.2686, allocations: 46.89 kB / 0.5631 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.269, allocations: 339 kB / 0.5635 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.2692, allocations: 175.1 kB / 0.5636 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2692, allocations: 19.98 kB / 0.5636 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2694, allocations: 71.92 kB / 0.5637 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2695, allocations: 147.4 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.2697, allocations: 210.3 kB / 0.564 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2702, allocations: 493.4 kB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2702, allocations: 3.984 kB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2702, allocations: 0 / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2702, allocations: 0 / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001146/0.2714, allocations: 0.9094 MB / 0.5654 GB, free: 14.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2714, allocations: 12.03 kB / 0.5654 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.2715, allocations: 50.67 kB / 0.5655 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.2716, allocations: 72.47 kB / 0.5655 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005408/0.2721, allocations: 444.9 kB / 0.566 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2721, allocations: 16.31 kB / 0.566 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.2722, allocations: 23.88 kB / 0.566 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2725, allocations: 181 kB / 0.5662 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.2725, allocations: 7.984 kB / 0.5662 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2726, allocations: 8 kB / 0.5662 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2726, allocations: 4 kB / 0.5662 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.2728, allocations: 91.88 kB / 0.5663 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.2737, allocations: 0.829 MB / 0.5671 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.2743, allocations: 230.5 kB / 0.5673 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.2745, allocations: 91.45 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.2745, allocations: 4 kB / 0.5674 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.2749, allocations: 204.2 kB / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.2749, allocations: 0 / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002381/0.2773, allocations: 1.206 MB / 0.5688 GB, free: 10.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/0.2774, allocations: 132.5 kB / 0.5689 GB, free: 10.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.2783, allocations: 0.9652 MB / 0.5698 GB, free: 9.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.2784, allocations: 37.7 kB / 0.5699 GB, free: 9.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.2786, allocations: 265 kB / 0.5701 GB, free: 8.957 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.2787, allocations: 146.8 kB / 0.5703 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2788, allocations: 82.08 kB / 0.5703 GB, free: 8.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2789, allocations: 326 kB / 0.5707 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2791, allocations: 108.8 kB / 0.5708 GB, free: 8.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.2794, allocations: 187.1 kB / 0.5709 GB, free: 8.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.2799, allocations: 323 kB / 0.5713 GB, free: 7.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2799, allocations: 0 / 0.5713 GB, free: 7.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007184/0.2806, allocations: 448.8 kB / 0.5717 GB, free: 7.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2807, allocations: 4 kB / 0.5717 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2807, allocations: 4 kB / 0.5717 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2807, allocations: 7.938 kB / 0.5717 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.281, allocations: 87.89 kB / 0.5718 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.281, allocations: 7.938 kB / 0.5718 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2811, allocations: 19.98 kB / 0.5718 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2812, allocations: 16 kB / 0.5718 GB, free: 7.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002641/0.2814, allocations: 267.9 kB / 0.5721 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.2815, allocations: 75.48 kB / 0.5721 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009091/0.2824, allocations: 0.5045 MB / 0.5726 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2824, allocations: 4 kB / 0.5726 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2824, allocations: 3.938 kB / 0.5726 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2824, allocations: 4 kB / 0.5727 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.2841, allocations: 1.342 MB / 0.574 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2841, allocations: 0 / 0.574 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2842, allocations: 63.92 kB / 0.574 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.2842, allocations: 4 kB / 0.574 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.2843, allocations: 19.98 kB / 0.574 GB, free: 4.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.2843, allocations: 4 kB / 0.574 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.2843, allocations: 11.88 kB / 0.5741 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.2851, allocations: 0.7968 MB / 0.5748 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.2853, allocations: 184.6 kB / 0.575 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.2854, allocations: 16 kB / 0.575 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.2857, allocations: 15.98 kB / 0.575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.2857, allocations: 43.89 kB / 0.5751 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.2858, allocations: 23.98 kB / 0.5751 GB, free: 3.617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007234/0.2865, allocations: 0.7059 MB / 0.5758 GB, free: 2.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2865, allocations: 0 / 0.5758 GB, free: 2.918 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.287, allocations: 87.92 kB / 0.5759 GB, free: 2.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002882/0.2899, allocations: 1.775 MB / 0.5776 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.2905, allocations: 292.3 kB / 0.5779 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2905, allocations: 4 kB / 0.5779 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.2908, allocations: 147.9 kB / 0.578 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.292, allocations: 131.3 kB / 0.5782 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.2981, allocations: 5.146 MB / 0.5832 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.2986, allocations: 0.9133 MB / 0.5841 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2988, allocations: 79.28 kB / 0.5842 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2991, allocations: 207.4 kB / 0.5844 GB, free: 10.08 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2991, allocations: 0 / 0.5844 GB, free: 10.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.3324, allocations: 11.61 MB / 0.5957 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.16, allocations: 3.266 kB / 0.5957 GB, free: 14.52 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.715608168000472]