Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001325/0.001325, allocations: 116.9 kB / 18.49 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.001357/0.001357, allocations: 220.7 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.418/1.418, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2198/0.2198, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 83.88 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1325, allocations: 66.05 MB / 0.5562 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003047/0.1356, allocations: 1.731 MB / 0.5579 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1373, allocations: 1.039 MB / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.1373, allocations: 0 / 0.5589 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.1376, allocations: 43.77 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1379, allocations: 107.5 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1381, allocations: 63.75 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1383, allocations: 115.6 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.1384, allocations: 8 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.1385, allocations: 43.78 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.1385, allocations: 39.84 kB / 0.5593 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1385, allocations: 4 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.1386, allocations: 43.98 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.1387, allocations: 27.8 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.1387, allocations: 35.73 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.139, allocations: 123.5 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.139, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.139, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.139, allocations: 0 / 0.5596 GB, free: 2.027 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.0005861/0.1396, allocations: 434.6 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1396, allocations: 8.031 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.1396, allocations: 4.188 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1396, allocations: 30.75 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1397, allocations: 16.81 kB / 0.56 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.14, allocations: 216.1 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.14, allocations: 4.375 kB / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.14, allocations: 384 / 0.5603 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1402, allocations: 61.61 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1402, allocations: 4 kB / 0.5603 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1402, allocations: 7.984 kB / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1402, allocations: 0 / 0.5603 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/0.1403, allocations: 15.98 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1407, allocations: 300.8 kB / 0.5606 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1409, allocations: 58.67 kB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1409, allocations: 16.86 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1409, allocations: 0 / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.1411, allocations: 75.25 kB / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1411, allocations: 0 / 0.5608 GB, free: 0.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.1417, allocations: 181.3 kB / 0.5609 GB, free: 452 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1417, allocations: 55.41 kB / 0.561 GB, free: 384 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1419, allocations: 210.1 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.142, allocations: 29.7 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.142, allocations: 104.1 kB / 0.5613 GB, free: 20 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1421, allocations: 19.86 kB / 0.5613 GB, free: 0 / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.1421, allocations: 25.7 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1423, allocations: 330.8 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/0.1423, allocations: 12 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.1424, allocations: 41.7 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1425, allocations: 61.64 kB / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1425, allocations: 0 / 0.5618 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001976/0.1427, allocations: 105.6 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1427, allocations: 7.938 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1427, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1428, allocations: 4 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1429, allocations: 23.97 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1429, allocations: 0 / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1429, allocations: 7.984 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.1429, allocations: 3.938 kB / 0.5619 GB, free: 15.36 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.000117/0.143, allocations: 125.8 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1431, allocations: 11.91 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1431, allocations: 21.39 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1431, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1431, allocations: 4 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1431, allocations: 0 / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1436, allocations: 399.6 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1436, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.1437, allocations: 8 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1437, allocations: 4 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1437, allocations: 3.938 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1437, allocations: 3.938 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1437, allocations: 4 kB / 0.5625 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.1439, allocations: 212.5 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.144, allocations: 81.25 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.144, allocations: 11.94 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1441, allocations: 3.938 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1441, allocations: 7.984 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1441, allocations: 4 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1443, allocations: 164.3 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1443, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1446, allocations: 23.94 kB / 0.563 GB, free: 14.17 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.002165/0.1467, allocations: 1.098 MB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1469, allocations: 51.92 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1469, allocations: 0 / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.147, allocations: 32.05 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1474, allocations: 37.25 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.1493, allocations: 1.693 MB / 0.5658 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1497, allocations: 0.708 MB / 0.5665 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.871e-05/0.1498, allocations: 24.78 kB / 0.5665 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.1498, allocations: 35.42 kB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1498, allocations: 0 / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.1685, allocations: 3.554 MB / 0.57 GB, free: 7.023 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.252, allocations: 8.062 kB / 0.5701 GB, free: 7.016 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.154520852025598] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.432220348040573 8.459284673 8.315626239 Calling exit ...