Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00126/0.00126, allocations: 117 kB / 18.49 MB, free: 4.566 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.001442/0.001442, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.433/1.433, 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.2207/0.2207, 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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 87.86 kB / 0.4917 GB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 66.04 MB / 0.5562 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003385/0.126, allocations: 1.736 MB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1278, allocations: 1.034 MB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.1279, allocations: 0 / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.1282, allocations: 51.77 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1285, allocations: 91.59 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1288, allocations: 79.67 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.129, allocations: 107.6 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1291, allocations: 12 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1292, allocations: 47.78 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.1293, allocations: 27.84 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1293, allocations: 4 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1294, allocations: 43.98 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.1295, allocations: 31.86 kB / 0.5594 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.1295, allocations: 43.66 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1298, allocations: 115.5 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1298, allocations: 0 / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1298, allocations: 0 / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1298, 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.0007231/0.1306, allocations: 430.6 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1306, allocations: 12.03 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.01e-05/0.1306, allocations: 4.188 kB / 0.56 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.1307, allocations: 34.75 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.1307, allocations: 8.891 kB / 0.56 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.1311, allocations: 224.1 kB / 0.5602 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1311, allocations: 4.375 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1311, allocations: 4.359 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1313, allocations: 61.61 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1313, allocations: 3.984 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1313, allocations: 0 / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1314, allocations: 0 / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.1314, allocations: 23.98 kB / 0.5603 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1319, allocations: 288.8 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1321, allocations: 62.61 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.1321, allocations: 16.86 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1321, allocations: 4 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.1323, allocations: 63.39 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1323, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006288/0.1329, allocations: 181.3 kB / 0.5609 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.133, allocations: 51.41 kB / 0.561 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.1332, allocations: 214.1 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1333, allocations: 29.7 kB / 0.5612 GB, free: 92 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.1334, allocations: 104.2 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1334, allocations: 23.8 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1335, allocations: 29.66 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1336, allocations: 330.8 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.1337, allocations: 20 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.1337, allocations: 33.7 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1339, allocations: 61.61 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1339, allocations: 3.938 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002212/0.1341, allocations: 105.5 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1341, allocations: 6.031 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1341, allocations: 7.984 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1341, allocations: 0 / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.1342, allocations: 12 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1342, allocations: 4.094 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1343, allocations: 8.031 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.1343, allocations: 12.3 kB / 0.5619 GB, free: 15.31 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.0001138/0.1344, allocations: 127.2 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1345, allocations: 15.91 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1345, allocations: 17.39 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1345, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1345, allocations: 4 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1345, allocations: 4 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.135, allocations: 403.2 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.135, allocations: 0 / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.1351, allocations: 12 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1351, allocations: 0 / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1351, allocations: 3.938 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1351, allocations: 4 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1351, allocations: 0 / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1353, allocations: 208.3 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1354, allocations: 89.05 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1354, allocations: 3.938 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1355, allocations: 4 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1355, allocations: 7.984 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1356, allocations: 4 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1357, allocations: 160.3 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1357, allocations: 0 / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000266/0.136, allocations: 28.12 kB / 0.563 GB, free: 14.12 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.002351/0.1383, allocations: 1.096 MB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1385, allocations: 51.92 kB / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1385, allocations: 0 / 0.5641 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.1386, allocations: 27.98 kB / 0.5641 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.139, allocations: 48.12 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1412, allocations: 1.693 MB / 0.5658 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1415, allocations: 0.7041 MB / 0.5665 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.1416, allocations: 20.48 kB / 0.5665 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.1417, allocations: 43.36 kB / 0.5666 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1417, allocations: 0 / 0.5666 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1603, allocations: 3.556 MB / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.158, allocations: 10.28 kB / 0.5701 GB, free: 6.969 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.067883094015997] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.335274910961743 8.355046813 8.221621747 Calling exit ...