Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001407/0.001407, allocations: 120.2 kB / 18.5 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.002165/0.002165, allocations: 222.2 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.48/1.48, 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.2203/0.2203, 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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 79.88 kB / 0.4917 GB, free: 7.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 66.05 MB / 0.5562 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003412/0.1291, allocations: 1.725 MB / 0.5579 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1312, allocations: 1.034 MB / 0.5589 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1313, allocations: 7.938 kB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.1316, allocations: 39.78 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.1321, allocations: 99.59 kB / 0.5591 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1324, allocations: 79.66 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.1326, allocations: 103.7 kB / 0.5593 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1328, allocations: 8 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1329, allocations: 55.7 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.133, allocations: 27.86 kB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.133, allocations: 4 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1332, allocations: 47.97 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1332, allocations: 23.86 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.1333, allocations: 35.73 kB / 0.5594 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.1336, allocations: 127.4 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1336, allocations: 0 / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1336, allocations: 3.938 kB / 0.5596 GB, free: 1.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1336, 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.0007569/0.1344, allocations: 430.6 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1344, allocations: 12.03 kB / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.299e-05/0.1345, allocations: 192 / 0.56 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.1345, allocations: 30.75 kB / 0.56 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.1345, allocations: 12.89 kB / 0.56 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1349, allocations: 224.1 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1349, allocations: 384 / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1349, allocations: 8.359 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1351, allocations: 61.55 kB / 0.5603 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1351, allocations: 3.984 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1351, allocations: 0 / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1351, allocations: 4 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.1352, allocations: 19.98 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1356, allocations: 296.8 kB / 0.5606 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1358, allocations: 50.62 kB / 0.5607 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.1359, allocations: 20.84 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.1359, allocations: 0 / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1361, allocations: 71.39 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1361, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006319/0.1367, allocations: 185.3 kB / 0.5609 GB, free: 412 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.1367, allocations: 51.41 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.137, allocations: 214.1 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.137, allocations: 25.7 kB / 0.5612 GB, free: 92 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.1371, allocations: 100.2 kB / 0.5613 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1371, allocations: 23.84 kB / 0.5613 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.1372, allocations: 25.72 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1373, allocations: 330.8 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.1374, allocations: 23.92 kB / 0.5617 GB, free: 15.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.1375, allocations: 33.7 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.1376, allocations: 61.7 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1376, allocations: 4 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002222/0.1378, allocations: 101.5 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1379, allocations: 8 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1379, allocations: 0 / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1379, allocations: 192 / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.138, allocations: 15.98 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.138, allocations: 7.938 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.138, allocations: 4 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1381, allocations: 7.938 kB / 0.5619 GB, free: 15.32 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.0001332/0.1382, allocations: 135.6 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1382, allocations: 15.91 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.1383, allocations: 17.39 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1383, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1383, allocations: 4 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1383, allocations: 0 / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.1388, allocations: 395.2 kB / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1388, allocations: 416 / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.1388, allocations: 15.98 kB / 0.5625 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1388, allocations: 4 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1389, allocations: 3.938 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1389, allocations: 4 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1389, allocations: 0 / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.1391, allocations: 208.5 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1392, allocations: 89.06 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.1392, allocations: 7.922 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1393, allocations: 8 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1393, allocations: 4 kB / 0.5628 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.1394, allocations: 7.984 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1395, allocations: 156.3 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1395, allocations: 0 / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1398, allocations: 23.94 kB / 0.563 GB, free: 14.13 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.002461/0.1423, allocations: 1.108 MB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1425, allocations: 47.98 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1425, allocations: 4 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.1426, allocations: 27.91 kB / 0.5641 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.143, allocations: 27.98 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.1452, allocations: 1.696 MB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.1455, allocations: 0.7119 MB / 0.5665 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.1456, allocations: 20.78 kB / 0.5665 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.1457, allocations: 35.42 kB / 0.5666 GB, free: 10.47 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1457, allocations: 7.938 kB / 0.5666 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.1658, allocations: 3.556 MB / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.17, allocations: 6.5 kB / 0.5701 GB, free: 6.973 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.146528392971959] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.346575762028806 8.361516654 8.224979152 Calling exit ...