Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.00131/0.00131, 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.001319/0.001319, 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.445/1.445, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.237/0.237, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 83.88 kB / 0.4917 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 66.04 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003067/0.1214, allocations: 1.69 MB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1231, allocations: 1.022 MB / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.1232, allocations: 0 / 0.5589 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1235, allocations: 51.75 kB / 0.5589 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.1239, allocations: 103.5 kB / 0.559 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.124, allocations: 75.69 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1242, allocations: 103.7 kB / 0.5592 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1243, allocations: 240 / 0.5592 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1244, allocations: 51.72 kB / 0.5592 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1245, allocations: 47.77 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.1245, allocations: 4 kB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.1246, allocations: 35.98 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1246, allocations: 15.92 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.1247, allocations: 31.8 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1249, allocations: 103.5 kB / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1249, allocations: 4 kB / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1249, allocations: 0 / 0.5595 GB, free: 2.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1249, allocations: 0 / 0.5595 GB, free: 2.133 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.0005877/0.1255, allocations: 410.7 kB / 0.5599 GB, free: 1.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1255, allocations: 12.03 kB / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.1255, allocations: 192 / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.1256, allocations: 38.73 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.1256, allocations: 8.891 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1259, allocations: 212.1 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1259, allocations: 384 / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.126, allocations: 4.375 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1261, allocations: 61.53 kB / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1261, allocations: 0 / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1261, allocations: 0 / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1261, allocations: 0 / 0.5602 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.585e-05/0.1262, allocations: 12 kB / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.1264, allocations: 181.7 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1266, allocations: 54.56 kB / 0.5604 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1266, allocations: 24.78 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1267, allocations: 3.938 kB / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1268, allocations: 67.39 kB / 0.5605 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.1268, allocations: 4 kB / 0.5605 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002833/0.1271, allocations: 89.62 kB / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1271, allocations: 51.41 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1273, allocations: 195.2 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1274, allocations: 25.7 kB / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.1274, allocations: 96.14 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.1274, allocations: 15.94 kB / 0.561 GB, free: 392 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.1275, allocations: 21.7 kB / 0.561 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1276, allocations: 326.8 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.1277, allocations: 15.98 kB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1277, allocations: 25.8 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1279, allocations: 45.7 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1279, allocations: 0 / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000163/0.128, allocations: 93.41 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.128, allocations: 12.03 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.128, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.128, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.1281, allocations: 11.98 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1281, allocations: 0 / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.1282, allocations: 4 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1282, allocations: 4 kB / 0.5615 GB, free: 15.8 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.0001043/0.1283, allocations: 130.9 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.1283, allocations: 11.89 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.1283, allocations: 17 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1283, allocations: 0 / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1283, allocations: 0 / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1283, allocations: 3.984 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1285, allocations: 189.5 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1285, allocations: 0 / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.1285, allocations: 4.312 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1285, allocations: 0 / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1285, allocations: 4 kB / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1285, allocations: 0 / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1285, allocations: 0 / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.1287, allocations: 120.9 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.1288, allocations: 85.05 kB / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1288, allocations: 4 kB / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.1288, allocations: 0 / 0.562 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1289, allocations: 7.844 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1289, allocations: 7.984 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.129, allocations: 144.9 kB / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.129, allocations: 0 / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1292, allocations: 15.94 kB / 0.5622 GB, free: 14.97 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.001968/0.1312, allocations: 0.9475 MB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1314, allocations: 47.91 kB / 0.5632 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1314, allocations: 0 / 0.5632 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.57e-05/0.1315, allocations: 16 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1317, allocations: 30.72 kB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1335, allocations: 1.485 MB / 0.5647 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1339, allocations: 0.7041 MB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.622e-05/0.1339, allocations: 8.562 kB / 0.5654 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.134, allocations: 27.42 kB / 0.5654 GB, free: 11.71 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.134, allocations: 0 / 0.5654 GB, free: 11.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.1521, allocations: 3.152 MB / 0.5685 GB, free: 8.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.122, allocations: 20.83 kB / 0.5685 GB, free: 8.613 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.122265056008473] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.29768881801283 8.315079885 8.186179261 Calling exit ...