Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001706/0.001706, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001943/0.001943, allocations: 210.1 kB / 24.52 MB, free: 3.941 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.95 MB / 361.6 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 79.88 kB / 0.497 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3431, allocations: 66.09 MB / 0.5615 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003061/0.3462, allocations: 1.655 MB / 0.5631 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3479, allocations: 0.9554 MB / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.3479, allocations: 0 / 0.564 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3482, allocations: 51.75 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.3485, allocations: 99.59 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.3487, allocations: 79.66 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3489, allocations: 95.7 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.3489, allocations: 8.234 kB / 0.5644 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.349, allocations: 43.78 kB / 0.5644 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.3491, allocations: 35.78 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3491, allocations: 0 / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.3492, allocations: 35.98 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.3492, allocations: 23.86 kB / 0.5645 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.3493, allocations: 35.8 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3495, allocations: 129.2 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3495, allocations: 3.938 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3495, allocations: 0 / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3495, allocations: 3.938 kB / 0.5647 GB, free: 0.7812 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005614/0.3501, allocations: 369.3 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3501, allocations: 12.03 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.681e-05/0.3501, allocations: 192 / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.3502, allocations: 30.75 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3502, allocations: 12.89 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3504, allocations: 167.2 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3505, allocations: 4.375 kB / 0.5652 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3505, allocations: 384 / 0.5652 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.3506, allocations: 53.61 kB / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3506, allocations: 0 / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.3506, allocations: 0 / 0.5653 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.3506, allocations: 3.984 kB / 0.5653 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.3507, allocations: 15.94 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.3509, allocations: 160.8 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3511, allocations: 54.61 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.3511, allocations: 20.84 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3512, allocations: 7.938 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3513, allocations: 67.33 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3513, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002865/0.3516, allocations: 101.6 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3517, allocations: 51.41 kB / 0.5657 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.3519, allocations: 282.8 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.352, allocations: 25.7 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.352, allocations: 120.1 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.3521, allocations: 15.84 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3521, allocations: 25.7 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3523, allocations: 326.8 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.3523, allocations: 12 kB / 0.5665 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.3524, allocations: 33.64 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/0.3525, allocations: 45.95 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3525, allocations: 4 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.3526, allocations: 101.5 kB / 0.5667 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3527, allocations: 4 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3527, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3527, allocations: 4 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.3527, allocations: 8 kB / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3528, allocations: 0 / 0.5667 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3528, allocations: 11.94 kB / 0.5667 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3528, allocations: 0 / 0.5667 GB, free: 14.46 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 (7): * Single equations (assignments): 7 * 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.0001159/0.3529, allocations: 137.7 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3529, allocations: 19.84 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.3532, allocations: 110.7 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3532, allocations: 4 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3532, allocations: 0 / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3532, allocations: 0 / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3533, allocations: 168.6 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3533, allocations: 0 / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.3534, allocations: 4 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3534, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3534, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3534, allocations: 0 / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3534, allocations: 4.156 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3536, allocations: 132.9 kB / 0.5673 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.3536, allocations: 19.88 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3537, allocations: 4.188 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/0.3537, allocations: 4 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.3537, allocations: 7.984 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3537, allocations: 0 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.3539, allocations: 204.6 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3539, allocations: 3.938 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.3542, allocations: 27.92 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002085/0.3562, allocations: 0.9734 MB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.3564, allocations: 47.98 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3564, allocations: 0 / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.3565, allocations: 23.92 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3568, allocations: 27.92 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3588, allocations: 1.698 MB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3589, allocations: 113.7 kB / 0.5704 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.359, allocations: 8.5 kB / 0.5704 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.3591, allocations: 47.41 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3591, allocations: 0 / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.382, allocations: 3.837 MB / 0.5742 GB, free: 6.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.06, allocations: 7.922 kB / 0.5742 GB, free: 6.828 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.945664391038008] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.272489805007353 11.300976642 10.946134149 Calling exit ...