Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.91 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 70.09 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003735/0.1294, allocations: 1.732 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1316, allocations: 1.034 MB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.1317, allocations: 3.938 kB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1321, allocations: 59.75 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1324, allocations: 103.6 kB / 0.5554 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1326, allocations: 75.67 kB / 0.5555 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.1328, allocations: 103.7 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.133, allocations: 8.281 kB / 0.5556 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.1331, allocations: 51.77 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.983e-05/0.1331, allocations: 35.8 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.1332, allocations: 4 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1333, allocations: 43.98 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.1334, allocations: 35.83 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.1334, allocations: 39.69 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1337, allocations: 131.4 kB / 0.5559 GB, free: 6.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1337, allocations: 7.938 kB / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1337, allocations: 0 / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1337, allocations: 0 / 0.5559 GB, free: 6.582 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.000792/0.1345, allocations: 458.4 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1346, allocations: 8.031 kB / 0.5563 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.501e-05/0.1346, allocations: 4.188 kB / 0.5563 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.1346, allocations: 30.75 kB / 0.5564 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.1347, allocations: 20.78 kB / 0.5564 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1352, allocations: 221 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.1352, allocations: 8.125 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1352, allocations: 0 / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1354, allocations: 61.61 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1354, allocations: 4 kB / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1354, allocations: 0 / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1355, allocations: 0 / 0.5567 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.1356, allocations: 19.98 kB / 0.5567 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.1362, allocations: 296.8 kB / 0.557 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1364, allocations: 66.61 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.1364, allocations: 16.86 kB / 0.5571 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1365, allocations: 3.984 kB / 0.5571 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.1367, allocations: 67.38 kB / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.552e-06/0.1367, allocations: 0 / 0.5571 GB, free: 5.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007036/0.1374, allocations: 189.2 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.1374, allocations: 59.41 kB / 0.5574 GB, free: 4.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.1378, allocations: 279.7 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1378, allocations: 29.7 kB / 0.5577 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.1379, allocations: 112.1 kB / 0.5578 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.138, allocations: 19.86 kB / 0.5578 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.1381, allocations: 25.7 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1383, allocations: 326.8 kB / 0.5581 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.562e-05/0.1383, allocations: 27.98 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.1384, allocations: 41.58 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1385, allocations: 49.72 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1385, allocations: 0 / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.1387, allocations: 117.5 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1388, allocations: 8 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1388, allocations: 0 / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1388, allocations: 4.031 kB / 0.5584 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.1389, allocations: 15.98 kB / 0.5584 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1389, allocations: 7.938 kB / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1389, allocations: 0 / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.139, allocations: 4 kB / 0.5584 GB, free: 3.781 MB / 414.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.0001731/0.1391, allocations: 141.2 kB / 0.5585 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1392, allocations: 16.09 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1392, allocations: 21.39 kB / 0.5586 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1392, allocations: 7.938 kB / 0.5586 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1392, allocations: 7.938 kB / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1392, allocations: 0 / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1397, allocations: 403.2 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1397, allocations: 0 / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.1398, allocations: 8 kB / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.1398, allocations: 7.938 kB / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1398, allocations: 4 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1398, allocations: 3.984 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1398, allocations: 4.031 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1401, allocations: 204.2 kB / 0.5592 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.1401, allocations: 96.95 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1402, allocations: 0 / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1402, allocations: 4.375 kB / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1403, allocations: 7.984 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1403, allocations: 8 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.1405, allocations: 204.6 kB / 0.5595 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1405, allocations: 0 / 0.5595 GB, free: 2.551 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1407, allocations: 24 kB / 0.5595 GB, free: 2.527 MB / 414.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.002337/0.1431, allocations: 1.108 MB / 0.5606 GB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1433, allocations: 51.97 kB / 0.5606 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1433, allocations: 0 / 0.5606 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.1434, allocations: 35.98 kB / 0.5607 GB, free: 1.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1438, allocations: 37.44 kB / 0.5607 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.1461, allocations: 1.827 MB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1465, allocations: 0.7313 MB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.972e-05/0.1465, allocations: 17.17 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.1466, allocations: 43.42 kB / 0.5633 GB, free: 14.73 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1466, allocations: 0 / 0.5633 GB, free: 14.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.1667, allocations: 3.853 MB / 0.567 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/8.767, allocations: 8.938 kB / 0.567 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.780066693027038] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.953741281002294 8.973975468 8.83718498 Calling exit ...