Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001329/0.001329, allocations: 120.1 kB / 18.49 MB, free: 4.559 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.00138/0.00138, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.458/1.458, allocations: 230.5 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.2297/0.2297, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 83.88 kB / 0.4917 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 66.05 MB / 0.5562 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003058/0.1378, allocations: 1.728 MB / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1402, allocations: 1.636 MB / 0.5595 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.92e-05/0.1402, allocations: 7.938 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1405, allocations: 35.77 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1408, allocations: 103.6 kB / 0.5597 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.141, allocations: 79.66 kB / 0.5597 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1412, allocations: 111.6 kB / 0.5599 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.1413, allocations: 8 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.1414, allocations: 51.77 kB / 0.5599 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1415, allocations: 43.83 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1415, allocations: 8 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1417, allocations: 103.9 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.1418, allocations: 19.91 kB / 0.5601 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1418, allocations: 35.75 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.1421, allocations: 175.4 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1421, allocations: 3.938 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1421, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.1422, allocations: 0 / 0.5603 GB, free: 1.289 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.0006276/0.1428, allocations: 426.6 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1428, allocations: 15.97 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.18e-05/0.1428, allocations: 192 / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.1429, allocations: 30.75 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1429, allocations: 12.84 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1432, allocations: 216.7 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.1432, allocations: 16.12 kB / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.1433, allocations: 0 / 0.561 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1434, allocations: 75.31 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1434, allocations: 0 / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1435, allocations: 3.984 kB / 0.561 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1435, allocations: 0 / 0.561 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.1435, allocations: 23.98 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1439, allocations: 280.9 kB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1441, allocations: 66.69 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1442, allocations: 16.86 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1442, allocations: 3.984 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1444, allocations: 67.39 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1444, allocations: 0 / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005447/0.1449, allocations: 169.3 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.145, allocations: 85.09 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1452, allocations: 166.4 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1452, allocations: 25.7 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1453, allocations: 100.1 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1453, allocations: 35.64 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1453, allocations: 25.66 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1455, allocations: 322.8 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.1456, allocations: 27.92 kB / 0.5624 GB, free: 14.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.1457, allocations: 38.56 kB / 0.5624 GB, free: 14.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1458, allocations: 65.81 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1458, allocations: 3.984 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001925/0.146, allocations: 93.58 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.146, allocations: 4 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.146, allocations: 4 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.146, allocations: 0 / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.1461, allocations: 19.92 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1461, allocations: 3.938 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1462, allocations: 8 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1462, allocations: 8.406 kB / 0.5626 GB, free: 14.61 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.0001258/0.1463, allocations: 119.2 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1463, allocations: 15.94 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.1464, allocations: 12.72 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1464, allocations: 0 / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1464, allocations: 7.938 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1464, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.1469, allocations: 403.3 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1469, allocations: 0 / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.147, allocations: 11.98 kB / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.147, allocations: 7.938 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.147, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.147, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.147, allocations: 0 / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1472, allocations: 208.3 kB / 0.5634 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.1473, allocations: 92.98 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1473, allocations: 4 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.37e-05/0.1474, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.1474, allocations: 11.98 kB / 0.5635 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1474, allocations: 4 kB / 0.5635 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1476, allocations: 127.9 kB / 0.5636 GB, free: 13.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1476, allocations: 0 / 0.5636 GB, free: 13.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1479, allocations: 47.86 kB / 0.5637 GB, free: 13.46 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.002439/0.1503, allocations: 1.191 MB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1505, allocations: 51.97 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1505, allocations: 3.938 kB / 0.5649 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.1506, allocations: 23.98 kB / 0.5649 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1509, allocations: 27.97 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.1528, allocations: 1.595 MB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1532, allocations: 0.7002 MB / 0.5672 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.1533, allocations: 20.84 kB / 0.5672 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.1534, allocations: 39.42 kB / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1534, allocations: 0 / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.1755, allocations: 4.082 MB / 0.5712 GB, free: 5.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.249, allocations: 11.94 kB / 0.5712 GB, free: 5.781 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.244659778021742] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.426625973021146 8.441508633 8.296444722 Calling exit ...