Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.001434/0.001434, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001611/0.001611, allocations: 218.8 kB / 22.92 MB, free: 5.195 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.594 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.2008/0.2008, allocations: 46.88 MB / 359.3 MB, free: 4.973 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.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",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.002109/0.002109, allocations: 83.88 kB / 0.494 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.268, allocations: 65.99 MB / 0.5585 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00286/0.2708, allocations: 1.838 MB / 0.5603 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2725, allocations: 1.108 MB / 0.5614 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.2726, allocations: 0 / 0.5614 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.273, allocations: 311.3 kB / 0.5616 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.2735, allocations: 259.2 kB / 0.5619 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2737, allocations: 107.6 kB / 0.562 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.274, allocations: 267.2 kB / 0.5623 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.274, allocations: 5.688 kB / 0.5623 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2742, allocations: 139.5 kB / 0.5624 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.2744, allocations: 215.4 kB / 0.5626 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2745, allocations: 8 kB / 0.5626 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.2746, allocations: 51.91 kB / 0.5627 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2747, allocations: 143.6 kB / 0.5628 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2748, allocations: 146.8 kB / 0.5629 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.2752, allocations: 387.9 kB / 0.5633 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2752, allocations: 0 / 0.5633 GB, free: 224 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2752, allocations: 0 / 0.5633 GB, free: 224 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2752, allocations: 0 / 0.5633 GB, free: 224 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.0008851/0.2761, allocations: 0.7562 MB / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2761, allocations: 9.109 kB / 0.564 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.2762, allocations: 38.75 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.2762, allocations: 52.61 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2768, allocations: 464.2 kB / 0.5646 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2768, allocations: 8.359 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2768, allocations: 11.94 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.277, allocations: 83.36 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.277, allocations: 0 / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.277, allocations: 7.984 kB / 0.5647 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.277, allocations: 4 kB / 0.5647 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.876e-05/0.2771, allocations: 31.91 kB / 0.5647 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2775, allocations: 386.3 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2778, allocations: 105.2 kB / 0.5652 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/0.2779, allocations: 33.7 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2779, allocations: 7.938 kB / 0.5652 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.2781, allocations: 97.08 kB / 0.5653 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2781, allocations: 4 kB / 0.5653 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004415/0.2785, allocations: 205.2 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2786, allocations: 81.11 kB / 0.5656 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.2796, allocations: 1.046 MB / 0.5666 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.2797, allocations: 29.7 kB / 0.5666 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2798, allocations: 240.1 kB / 0.5669 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.2799, allocations: 35.72 kB / 0.5669 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2799, allocations: 33.64 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2801, allocations: 370.8 kB / 0.5673 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.2802, allocations: 35.92 kB / 0.5673 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.804e-05/0.2802, allocations: 55.67 kB / 0.5674 GB, free: 11.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2804, allocations: 99.34 kB / 0.5675 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2804, allocations: 3.938 kB / 0.5675 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002869/0.2807, allocations: 169.2 kB / 0.5676 GB, free: 11.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2807, allocations: 4 kB / 0.5676 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2807, allocations: 3.984 kB / 0.5677 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2807, allocations: 4 kB / 0.5677 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2808, allocations: 19.94 kB / 0.5677 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2808, allocations: 4 kB / 0.5677 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.2809, allocations: 19.98 kB / 0.5677 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2809, allocations: 4 kB / 0.5677 GB, free: 11.42 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.0002002/0.2811, allocations: 226.6 kB / 0.5679 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.2812, allocations: 59.56 kB / 0.568 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.2816, allocations: 193.7 kB / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2816, allocations: 0 / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2816, allocations: 0 / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2816, allocations: 8.25 kB / 0.5682 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2819, allocations: 345.4 kB / 0.5685 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2819, allocations: 8 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.2819, allocations: 11.98 kB / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2819, allocations: 3.938 kB / 0.5685 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2819, allocations: 4 kB / 0.5685 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2819, allocations: 0 / 0.5685 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2819, allocations: 0 / 0.5685 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.2823, allocations: 217.5 kB / 0.5687 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.2824, allocations: 144.7 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.2824, allocations: 4 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.2825, allocations: 4 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2825, allocations: 11.98 kB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.2826, allocations: 11.94 kB / 0.5689 GB, free: 10.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007695/0.2833, allocations: 0.78 MB / 0.5697 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2833, allocations: 0 / 0.5697 GB, free: 9.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.2836, allocations: 47.98 kB / 0.5697 GB, free: 9.258 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.001874/0.2854, allocations: 1.068 MB / 0.5707 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.2857, allocations: 79.91 kB / 0.5708 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2857, allocations: 0 / 0.5708 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2858, allocations: 39.92 kB / 0.5709 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2862, allocations: 76.45 kB / 0.5709 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.2912, allocations: 4.571 MB / 0.5754 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.2917, allocations: 0.8508 MB / 0.5762 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.2918, allocations: 59.44 kB / 0.5763 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.292, allocations: 155.4 kB / 0.5764 GB, free: 2.352 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.292, allocations: 0 / 0.5764 GB, free: 2.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3224, allocations: 9.186 MB / 0.5854 GB, free: 9.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.911, allocations: 10.94 kB / 0.5854 GB, free: 9.18 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.48327543999767]