Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.00135/0.00135, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001855/0.001855, allocations: 216.6 kB / 23 MB, free: 5.582 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.498/1.498, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2357/0.2357, allocations: 46.9 MB / 359.4 MB, free: 4.891 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.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",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.00228/0.00228, allocations: 87.84 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3377, allocations: 65.99 MB / 0.5587 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003936/0.3416, allocations: 1.741 MB / 0.5604 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3437, allocations: 1.045 MB / 0.5614 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.3438, allocations: 4 kB / 0.5614 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.3442, allocations: 43.77 kB / 0.5614 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.3446, allocations: 103.5 kB / 0.5615 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3448, allocations: 75.67 kB / 0.5616 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.345, allocations: 103.7 kB / 0.5617 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3451, allocations: 9.766 kB / 0.5617 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3453, allocations: 43.83 kB / 0.5618 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.3454, allocations: 43.78 kB / 0.5618 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.3454, allocations: 4 kB / 0.5618 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3455, allocations: 43.97 kB / 0.5618 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.3455, allocations: 23.86 kB / 0.5619 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.3456, allocations: 31.75 kB / 0.5619 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3458, allocations: 127.4 kB / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3458, allocations: 0 / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3458, allocations: 0 / 0.562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3458, allocations: 0 / 0.562 GB, free: 1.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005881/0.3464, allocations: 430.6 kB / 0.5624 GB, free: 1.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3465, allocations: 8.031 kB / 0.5624 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3465, allocations: 34.73 kB / 0.5625 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3465, allocations: 12.89 kB / 0.5625 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3469, allocations: 224.1 kB / 0.5627 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3469, allocations: 4.312 kB / 0.5627 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3469, allocations: 4.375 kB / 0.5627 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.347, allocations: 57.8 kB / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3471, allocations: 0 / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.3471, allocations: 0 / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3471, allocations: 4 kB / 0.5628 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.3471, allocations: 19.98 kB / 0.5628 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.3476, allocations: 296.8 kB / 0.5631 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3478, allocations: 50.67 kB / 0.5631 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.3478, allocations: 24.84 kB / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3478, allocations: 0 / 0.5631 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.348, allocations: 67.39 kB / 0.5632 GB, free: 300 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.348, allocations: 0 / 0.5632 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005895/0.3486, allocations: 177.3 kB / 0.5634 GB, free: 116 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3487, allocations: 59.39 kB / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3489, allocations: 210.1 kB / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.349, allocations: 33.64 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.349, allocations: 108.1 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.3491, allocations: 19.86 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3491, allocations: 21.7 kB / 0.5638 GB, free: 15.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3493, allocations: 330.8 kB / 0.5641 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.888e-05/0.3494, allocations: 19.98 kB / 0.5641 GB, free: 15.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.3494, allocations: 38.02 kB / 0.5642 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3496, allocations: 65.72 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3496, allocations: 0 / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.3497, allocations: 105.5 kB / 0.5643 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3498, allocations: 8 kB / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3498, allocations: 0 / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3498, allocations: 0 / 0.5643 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.3499, allocations: 15.94 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3499, allocations: 8.141 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.3499, allocations: 12.02 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.3499, allocations: 4 kB / 0.5644 GB, free: 15.01 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 (10): * Single equations (assignments): 10 * 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.0001143/0.35, allocations: 129.7 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3501, allocations: 19.89 kB / 0.5645 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3503, allocations: 107.1 kB / 0.5646 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3503, allocations: 15.86 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3503, allocations: 3.984 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3503, allocations: 0 / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.3508, allocations: 395.3 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3508, allocations: 3.938 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.3508, allocations: 11.98 kB / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3508, allocations: 0 / 0.565 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3509, allocations: 8 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3509, allocations: 3.938 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3509, allocations: 0 / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3511, allocations: 200.3 kB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.3512, allocations: 89.06 kB / 0.5653 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3512, allocations: 0 / 0.5653 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.3513, allocations: 11.92 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.3513, allocations: 7.938 kB / 0.5653 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3513, allocations: 4 kB / 0.5653 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3515, allocations: 164.8 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3515, allocations: 4 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.3517, allocations: 24 kB / 0.5655 GB, free: 13.71 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: 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 (8): * Single equations (assignments): 6 * 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.00211/0.3538, allocations: 1.087 MB / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.354, allocations: 63.83 kB / 0.5667 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.354, allocations: 0 / 0.5667 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.3541, allocations: 31.92 kB / 0.5667 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3544, allocations: 31.48 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3564, allocations: 1.704 MB / 0.5684 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.3568, allocations: 0.7041 MB / 0.5691 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.262e-05/0.3569, allocations: 20.5 kB / 0.5691 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.3569, allocations: 43.41 kB / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3569, allocations: 0 / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.382, allocations: 3.516 MB / 0.5726 GB, free: 6.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.447, allocations: 7.797 kB / 0.5726 GB, free: 6.559 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.370473025017418] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.575587622995954 8.596883036 8.247925908 Calling exit ...