Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.00129/0.00129, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001305/0.001305, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.429/1.429, 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.2199/0.2199, 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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 83.88 kB / 0.4917 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1267, allocations: 66.04 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.0032/0.1299, allocations: 1.69 MB / 0.5579 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1317, allocations: 1.018 MB / 0.5589 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1318, allocations: 3.938 kB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.1321, allocations: 67.7 kB / 0.5589 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.1325, allocations: 103.5 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1326, allocations: 71.73 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1328, allocations: 107.7 kB / 0.5592 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.1329, allocations: 12.22 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.133, allocations: 47.78 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1331, allocations: 47.77 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1331, allocations: 4 kB / 0.5593 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.1332, allocations: 39.92 kB / 0.5593 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.1333, allocations: 19.92 kB / 0.5594 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.1333, allocations: 35.73 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1335, allocations: 99.58 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1336, allocations: 0 / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1336, allocations: 0 / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1336, allocations: 4 kB / 0.5595 GB, free: 2.086 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000608/0.1342, allocations: 410.7 kB / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1342, allocations: 12.03 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.687e-05/0.1342, allocations: 192 / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.1343, allocations: 38.69 kB / 0.5599 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1343, allocations: 12.84 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1346, allocations: 208.9 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1346, allocations: 4.375 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1346, allocations: 4.375 kB / 0.5602 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1348, allocations: 57.59 kB / 0.5602 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1348, allocations: 4 kB / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1348, allocations: 0 / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.1348, allocations: 0 / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.1349, allocations: 15.98 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.1351, allocations: 185.6 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1352, allocations: 54.56 kB / 0.5605 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.1353, allocations: 20.84 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1353, allocations: 7.875 kB / 0.5605 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.1355, allocations: 67.39 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1355, allocations: 0 / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002841/0.1358, allocations: 97.56 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1358, allocations: 59.39 kB / 0.5607 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.136, allocations: 198.4 kB / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.136, allocations: 25.7 kB / 0.5609 GB, free: 436 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.1361, allocations: 100.1 kB / 0.561 GB, free: 332 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1361, allocations: 15.89 kB / 0.561 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1362, allocations: 17.72 kB / 0.561 GB, free: 292 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.1364, allocations: 322.8 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.882e-05/0.1364, allocations: 20 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.1365, allocations: 33.67 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.1366, allocations: 49.64 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1366, allocations: 0 / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000187/0.1368, allocations: 85.47 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1368, allocations: 4 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1368, allocations: 4 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1368, allocations: 4.031 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.1369, allocations: 11.98 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1369, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.137, allocations: 7.938 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.137, allocations: 0 / 0.5616 GB, free: 15.73 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 (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.0001092/0.1371, allocations: 131.5 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1371, allocations: 11.89 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1372, allocations: 13 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1372, allocations: 4 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1372, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1372, allocations: 3.984 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1374, allocations: 189.5 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1374, allocations: 4 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.1374, allocations: 320 / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1374, allocations: 0 / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.1374, allocations: 7.938 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/0.1374, allocations: 11.92 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1374, allocations: 0 / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1376, allocations: 109 kB / 0.562 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1377, allocations: 89.05 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1377, allocations: 0 / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.1378, allocations: 4 kB / 0.5621 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1378, allocations: 0 / 0.5621 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1378, allocations: 11.97 kB / 0.5621 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.138, allocations: 148.2 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1382, allocations: 23.98 kB / 0.5623 GB, free: 14.88 MB / 430.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002002/0.1402, allocations: 0.9428 MB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1403, allocations: 31.98 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1404, allocations: 0 / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.1404, allocations: 31.97 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.1407, allocations: 30.67 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1426, allocations: 1.505 MB / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1429, allocations: 0.7041 MB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.143, allocations: 12.55 kB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.059e-05/0.143, allocations: 31.42 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.143, allocations: 0 / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1612, allocations: 3.207 MB / 0.5686 GB, free: 8.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.163, allocations: 11.98 kB / 0.5686 GB, free: 8.445 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.067699246981647] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.338883425982203 8.355325626 8.218715186 Calling exit ...