Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001632/0.001632, allocations: 120 kB / 18.49 MB, free: 4.566 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.001888/0.001888, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.453/1.453, 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.2282/0.2282, allocations: 46.91 MB / 357.7 MB, free: 10.15 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 79.88 kB / 0.4917 GB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1484, allocations: 66.05 MB / 0.5563 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003813/0.1522, allocations: 1.758 MB / 0.558 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.1542, allocations: 1.032 MB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1543, allocations: 4 kB / 0.559 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.1548, allocations: 107.6 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.1552, allocations: 131.5 kB / 0.5592 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.1555, allocations: 79.67 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1557, allocations: 139.6 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1558, allocations: 7.984 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.156, allocations: 67.75 kB / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1561, allocations: 75.73 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1561, allocations: 4 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1562, allocations: 63.91 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.1563, allocations: 31.91 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.1564, allocations: 47.61 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1567, allocations: 167.3 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1567, allocations: 0 / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1567, allocations: 3.938 kB / 0.5599 GB, free: 1.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1567, allocations: 0 / 0.5599 GB, free: 1.656 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007334/0.1574, allocations: 458.3 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1575, allocations: 12.03 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.644e-05/0.1575, allocations: 4.172 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.1575, allocations: 30.75 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.1576, allocations: 20.84 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.158, allocations: 229 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.158, allocations: 8.375 kB / 0.5606 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.158, allocations: 4.375 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.1582, allocations: 65.55 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1582, allocations: 0 / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1582, allocations: 4 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1582, allocations: 7.984 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.1583, allocations: 23.98 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.1588, allocations: 332.6 kB / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1591, allocations: 66.55 kB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.1592, allocations: 20.84 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1592, allocations: 4 kB / 0.5611 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1594, allocations: 79.38 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1594, allocations: 0 / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008919/0.1603, allocations: 281.5 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1603, allocations: 55.41 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.1606, allocations: 259.5 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1607, allocations: 25.7 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.1607, allocations: 116.1 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.1608, allocations: 47.69 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.1609, allocations: 29.7 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.161, allocations: 322.8 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.1611, allocations: 31.98 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.1612, allocations: 54.33 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.1614, allocations: 93.58 kB / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1614, allocations: 4 kB / 0.5624 GB, free: 14.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002604/0.1616, allocations: 133.6 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1617, allocations: 4 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1617, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1617, allocations: 4 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.1618, allocations: 23.92 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.1618, allocations: 8.641 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.1618, allocations: 4 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.1618, allocations: 7.984 kB / 0.5626 GB, free: 14.59 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 (14): * Single equations (assignments): 14 * 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.0001391/0.162, allocations: 139.8 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.162, allocations: 23.86 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.1621, allocations: 17.41 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1621, allocations: 8 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1621, allocations: 7.875 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.1621, allocations: 3.984 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.1628, allocations: 484 kB / 0.5633 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1628, allocations: 0 / 0.5633 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.1628, allocations: 15.94 kB / 0.5633 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1628, allocations: 0 / 0.5633 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1628, allocations: 7.984 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1628, allocations: 0 / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1628, allocations: 4 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1632, allocations: 249 kB / 0.5635 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.847e-05/0.1632, allocations: 96.98 kB / 0.5636 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1633, allocations: 8 kB / 0.5636 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.1633, allocations: 0 / 0.5636 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.1634, allocations: 19.92 kB / 0.5636 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1634, allocations: 4.094 kB / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.1636, allocations: 201.3 kB / 0.5638 GB, free: 13.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1636, allocations: 4 kB / 0.5638 GB, free: 13.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1639, allocations: 35.92 kB / 0.5639 GB, free: 13.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002544/0.1664, allocations: 1.181 MB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1667, allocations: 87.84 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1667, allocations: 0 / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1668, allocations: 47.89 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1672, allocations: 27.95 kB / 0.5652 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.1696, allocations: 1.961 MB / 0.5671 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.17, allocations: 0.724 MB / 0.5678 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.1701, allocations: 29.05 kB / 0.5678 GB, free: 9.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.1702, allocations: 51.42 kB / 0.5679 GB, free: 9.105 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1702, allocations: 0 / 0.5679 GB, free: 9.105 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.1916, allocations: 4.237 MB / 0.572 GB, free: 4.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.265, allocations: 12.34 kB / 0.572 GB, free: 4.926 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.262372997007333] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 8.441004497988615 8.455451617 8.295914128 Calling exit ...