Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.00107/0.00107, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001265/0.001265, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 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 0.8794/0.8794, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2392/0.2392, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.232e-05, allocations: 10.81 kB / 376.8 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002801/0.002824, allocations: 1.988 MB / 378.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.004826, allocations: 1.071 MB / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.004982, allocations: 0 / 379.8 MB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.005363, allocations: 43.66 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.005821, allocations: 119.2 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.006195, allocations: 119.5 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.006504, allocations: 211.3 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.006631, allocations: 17.81 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.006837, allocations: 119.6 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.006965, allocations: 59.8 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.006997, allocations: 12 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.007127, allocations: 51.92 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.007207, allocations: 39.83 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.007284, allocations: 43.84 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.007625, allocations: 203.3 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.00763, allocations: 3.984 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.007632, allocations: 0 / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007637, allocations: 4 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007497/0.008387, allocations: 0.4926 MB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.008429, allocations: 8.031 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.008463, allocations: 42.73 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.008526, allocations: 28.8 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.008818, allocations: 189.3 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.008835, allocations: 8.375 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.008859, allocations: 12.38 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.009172, allocations: 177.4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.009182, allocations: 4.125 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.009196, allocations: 4.125 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.009202, allocations: 4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.009446, allocations: 115.9 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.01009, allocations: 0.4883 MB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.01059, allocations: 162.5 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.01073, allocations: 76.78 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01075, allocations: 0 / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.01108, allocations: 161 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.01108, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006058/0.01169, allocations: 269.3 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.01173, allocations: 63.39 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.01191, allocations: 236.1 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01193, allocations: 29.7 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.01201, allocations: 132.4 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01204, allocations: 35.73 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.0121, allocations: 41.66 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.01218, allocations: 338.8 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.01234, allocations: 101.6 kB / 384 MB, free: 11.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01248, allocations: 125.9 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.01275, allocations: 204.7 kB / 384.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.01275, allocations: 4 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003994/0.01315, allocations: 292.8 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.01319, allocations: 37.64 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01319, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01321, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.01331, allocations: 43.91 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01331, allocations: 0 / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01342, allocations: 27.92 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01343, allocations: 8 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001117/0.01354, allocations: 146.2 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.01357, allocations: 23.86 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.01394, allocations: 215 kB / 385.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01395, allocations: 4 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01395, allocations: 0 / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01396, allocations: 0 / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.01412, allocations: 200.6 kB / 385.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01413, allocations: 0 / 385.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.01422, allocations: 19.98 kB / 385.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.01423, allocations: 7.984 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.01424, allocations: 4 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01424, allocations: 0 / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01424, allocations: 0 / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.01475, allocations: 328.7 kB / 385.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.01478, allocations: 19.92 kB / 385.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.0148, allocations: 4 kB / 385.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.01488, allocations: 19.97 kB / 385.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.01496, allocations: 15.97 kB / 385.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.01497, allocations: 4 kB / 385.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.01508, allocations: 181.9 kB / 385.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01508, allocations: 0 / 385.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.01527, allocations: 39.89 kB / 386 MB, free: 9.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001278/0.01655, allocations: 1.181 MB / 387.2 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003894/0.01694, allocations: 244.9 kB / 387.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01694, allocations: 0 / 387.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.01708, allocations: 76.12 kB / 387.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01733, allocations: 64.38 kB / 387.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.01956, allocations: 2.33 MB / 389.9 MB, free: 5.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.135e-05/0.01964, allocations: 116.2 kB / 390 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.01972, allocations: 21.48 kB / 390 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.0198, allocations: 60.48 kB / 390.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of SimCode: time 9.91e-07/0.0198, allocations: 0 / 390.1 MB, free: 5.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.04013, allocations: 6.104 MB / 396.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.57, allocations: 10.52 kB / 396.2 MB, free: 15.52 MB / 378.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.519223334267735]