Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001337/0.001337, 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.00138/0.00138, 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.432/1.432, allocations: 230.5 MB / 254.7 MB, free: 15.19 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.2253/0.2253, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 79.88 kB / 0.4917 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 66.04 MB / 0.5562 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00326/0.1338, allocations: 1.732 MB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1355, allocations: 1.036 MB / 0.5589 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1356, allocations: 4 kB / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.136, allocations: 83.69 kB / 0.559 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.1363, allocations: 115.6 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1365, allocations: 79.67 kB / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.1367, allocations: 119.6 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1368, allocations: 15.94 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.137, allocations: 55.77 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1371, allocations: 59.81 kB / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.1371, allocations: 7.984 kB / 0.5595 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1372, allocations: 47.98 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1373, allocations: 23.86 kB / 0.5595 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1373, allocations: 43.67 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1376, allocations: 119.4 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1376, allocations: 0 / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1376, allocations: 0 / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1376, allocations: 0 / 0.5597 GB, free: 1.898 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.000655/0.1382, allocations: 434.6 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1383, allocations: 8.031 kB / 0.5601 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.582e-05/0.1383, allocations: 4.188 kB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1383, allocations: 34.75 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1384, allocations: 20.83 kB / 0.5602 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1387, allocations: 216.1 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1387, allocations: 8.375 kB / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1387, allocations: 384 / 0.5604 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1389, allocations: 57.61 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1389, allocations: 0 / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1389, allocations: 0 / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1389, allocations: 8 kB / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.139, allocations: 15.98 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1394, allocations: 292.8 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1396, allocations: 66.55 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.1396, allocations: 16.86 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1396, allocations: 4 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.1398, allocations: 71.38 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1398, allocations: 0 / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005617/0.1403, allocations: 177.4 kB / 0.5611 GB, free: 320 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1404, allocations: 51.41 kB / 0.5611 GB, free: 256 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.1406, allocations: 224 kB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1407, allocations: 37.7 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.1407, allocations: 108.1 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1408, allocations: 27.78 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.1408, allocations: 21.72 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.141, allocations: 326.8 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.1411, allocations: 23.98 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.1411, allocations: 37.64 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1412, allocations: 65.77 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1413, allocations: 4 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.1415, allocations: 101.5 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1415, allocations: 5.719 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1415, allocations: 4 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1415, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.1416, allocations: 19.92 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1416, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.1416, allocations: 12.03 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1416, allocations: 7.938 kB / 0.5621 GB, free: 15.19 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.0001184/0.1418, allocations: 129.8 kB / 0.5622 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1418, allocations: 11.91 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.1418, allocations: 21.39 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1418, allocations: 0 / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1418, allocations: 0 / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1418, allocations: 0 / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.1423, allocations: 399.3 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1423, allocations: 4 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.1424, allocations: 7.984 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1424, allocations: 4 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1424, allocations: 7.875 kB / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1424, allocations: 0 / 0.5626 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1424, allocations: 4.375 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.1427, allocations: 212.2 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.1427, allocations: 85.06 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1427, allocations: 11.92 kB / 0.5629 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1428, allocations: 8 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1428, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.1429, allocations: 7.984 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.143, allocations: 165.2 kB / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.143, allocations: 0 / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1433, allocations: 27.94 kB / 0.5631 GB, free: 13.99 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.002134/0.1454, allocations: 1.092 MB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1456, allocations: 63.84 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1456, allocations: 0 / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1457, allocations: 23.98 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.146, allocations: 31.72 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1481, allocations: 1.722 MB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.1484, allocations: 0.7079 MB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.1484, allocations: 20.88 kB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.1485, allocations: 39.42 kB / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1485, allocations: 0 / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1675, allocations: 3.616 MB / 0.5703 GB, free: 6.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.29, allocations: 12 kB / 0.5703 GB, free: 6.754 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.218552284000907] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.465509881963953 8.479971261 8.339642871 Calling exit ...