Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001294/0.001294, allocations: 120.2 kB / 18.5 MB, free: 4.535 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.001344/0.001344, allocations: 222.2 kB / 21.46 MB, free: 1.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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2301/0.2301, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 83.88 kB / 0.4917 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1296, allocations: 66.04 MB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003226/0.1329, allocations: 1.736 MB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.1346, allocations: 1.034 MB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.1347, allocations: 7.938 kB / 0.5589 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1349, allocations: 43.77 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.1352, allocations: 91.59 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1354, allocations: 79.66 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1356, allocations: 107.6 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.1357, allocations: 12 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.1358, allocations: 43.78 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.1358, allocations: 31.84 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1359, allocations: 4 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-05/0.136, allocations: 47.98 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.136, allocations: 31.84 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1361, allocations: 35.73 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1363, allocations: 115.4 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1363, allocations: 0 / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1363, allocations: 4 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1363, allocations: 0 / 0.5596 GB, free: 1.984 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005925/0.1369, allocations: 418.7 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1369, allocations: 12.03 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.1369, allocations: 4.188 kB / 0.56 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.107e-05/0.137, allocations: 34.75 kB / 0.56 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.137, allocations: 8.891 kB / 0.56 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1373, allocations: 216.8 kB / 0.5602 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1373, allocations: 4.375 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1373, allocations: 8.375 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1375, allocations: 53.61 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1375, allocations: 4 kB / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1375, allocations: 7.938 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1375, allocations: 4 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.1376, allocations: 19.98 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.138, allocations: 284.8 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1381, allocations: 54.61 kB / 0.5607 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1382, allocations: 24.84 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.1382, allocations: 8 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.1384, allocations: 59.39 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1384, allocations: 0 / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005374/0.1389, allocations: 177.3 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1389, allocations: 55.41 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1391, allocations: 190.4 kB / 0.5611 GB, free: 172 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1391, allocations: 37.7 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.1392, allocations: 100.1 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1392, allocations: 23.8 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.1393, allocations: 25.75 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1394, allocations: 334.7 kB / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.1395, allocations: 16 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.1396, allocations: 33.7 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1397, allocations: 69.69 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1397, allocations: 0 / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.1399, allocations: 97.53 kB / 0.5618 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1399, allocations: 11.98 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1399, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1399, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.14, allocations: 20 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.14, allocations: 3.938 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.14, allocations: 4.031 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1401, allocations: 11.92 kB / 0.5619 GB, free: 15.35 MB / 430.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.0001118/0.1402, allocations: 125.8 kB / 0.562 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1402, allocations: 15.91 kB / 0.562 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.1402, allocations: 17.77 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1402, allocations: 0 / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1402, allocations: 0 / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1402, allocations: 0 / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.1407, allocations: 407.1 kB / 0.5624 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1407, allocations: 0 / 0.5624 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.1407, allocations: 11.98 kB / 0.5624 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1407, allocations: 4 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1408, allocations: 3.938 kB / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1408, allocations: 0 / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1408, allocations: 0 / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.141, allocations: 208.5 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.1411, allocations: 85.02 kB / 0.5627 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1411, allocations: 11.92 kB / 0.5627 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1412, allocations: 4 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1412, allocations: 4 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1412, allocations: 7.984 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1414, allocations: 144.2 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1414, allocations: 4 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.1416, allocations: 27.92 kB / 0.5629 GB, free: 14.18 MB / 430.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.002127/0.1437, allocations: 1.095 MB / 0.564 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.1439, allocations: 55.91 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1439, allocations: 0 / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.144, allocations: 27.98 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1444, allocations: 27.92 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1463, allocations: 1.669 MB / 0.5657 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1467, allocations: 0.7041 MB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.1467, allocations: 21.17 kB / 0.5664 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.1468, allocations: 35.42 kB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1468, allocations: 0 / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1654, allocations: 3.502 MB / 0.5699 GB, free: 7.133 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.207, allocations: 10.39 kB / 0.5699 GB, free: 7.125 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.182504525000695] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.383964483975433 8.398693864 8.259551407 Calling exit ...