Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.0008359/0.0008359, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008996/0.0008996, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9356/0.9356, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1393/0.1393, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.024e-05, allocations: 2.281 kB / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003299/0.003319, allocations: 1.958 MB / 408.9 MB, free: 212 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004835, allocations: 0.8659 MB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.004952, allocations: 4 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.005301, allocations: 47.69 kB / 409.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.005589, allocations: 79.44 kB / 409.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.005934, allocations: 119.7 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.006238, allocations: 203.3 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.006372, allocations: 25.78 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.006549, allocations: 107.7 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.006674, allocations: 63.84 kB / 410.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.006708, allocations: 12 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.006844, allocations: 59.84 kB / 410.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.006921, allocations: 31.86 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.007, allocations: 43.89 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.007308, allocations: 207.2 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.007311, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007312, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007317, allocations: 0 / 410.7 MB, free: 14.34 MB / 394.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.0008303/0.008147, allocations: 492.5 kB / 411.2 MB, free: 13.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.008188, allocations: 8.031 kB / 411.2 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.008231, allocations: 42.75 kB / 411.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.008419, allocations: 24.78 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.008708, allocations: 182.3 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.008724, allocations: 8.375 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.008753, allocations: 16.36 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.009119, allocations: 178.2 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.00913, allocations: 7.938 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.009144, allocations: 0 / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.009149, allocations: 0 / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.009494, allocations: 115.8 kB / 411.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.01013, allocations: 0.5 MB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.01064, allocations: 150.5 kB / 412.4 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.0108, allocations: 76.78 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.01083, allocations: 4 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.01113, allocations: 161 kB / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.01113, allocations: 0 / 412.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006347/0.01177, allocations: 269.2 kB / 412.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.01181, allocations: 55.41 kB / 413 MB, free: 11.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.01213, allocations: 228.3 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.01215, allocations: 29.7 kB / 413.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.01222, allocations: 124.4 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.01225, allocations: 39.81 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.0123, allocations: 41.61 kB / 413.4 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.01239, allocations: 330.8 kB / 413.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.01254, allocations: 101.6 kB / 413.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01268, allocations: 137.9 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.01295, allocations: 193.8 kB / 414.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01295, allocations: 0 / 414.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003509/0.01331, allocations: 288.7 kB / 414.5 MB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.01333, allocations: 33.7 kB / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01334, allocations: 128 / 414.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01335, allocations: 8 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.01344, allocations: 39.91 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01345, allocations: 4 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.01354, allocations: 31.8 kB / 414.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.01355, allocations: 8 kB / 414.6 MB, free: 10.18 MB / 394.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 8.127e-05/0.01363, allocations: 129.8 kB / 414.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.01365, allocations: 15.91 kB / 414.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.01399, allocations: 222.9 kB / 414.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01399, allocations: 0 / 414.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.014, allocations: 0 / 414.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.014, allocations: 3.938 kB / 414.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.01412, allocations: 192.5 kB / 415.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.01412, allocations: 0 / 415.1 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.0142, allocations: 31.97 kB / 415.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.0142, allocations: 7.938 kB / 415.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.01421, allocations: 0 / 415.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01421, allocations: 4 kB / 415.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01422, allocations: 0 / 415.2 MB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.01472, allocations: 325.1 kB / 415.5 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.01474, allocations: 15.89 kB / 415.5 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01476, allocations: 4 kB / 415.5 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.01483, allocations: 19.97 kB / 415.5 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.01489, allocations: 19.97 kB / 415.5 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.0149, allocations: 7.938 kB / 415.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.01499, allocations: 167.5 kB / 415.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01499, allocations: 0 / 415.7 MB, free: 8.957 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.01516, allocations: 43.94 kB / 415.8 MB, free: 8.914 MB / 394.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.001403/0.01656, allocations: 1.185 MB / 416.9 MB, free: 7.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.0169, allocations: 244.9 kB / 417.2 MB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01691, allocations: 4 kB / 417.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.01704, allocations: 75.88 kB / 417.3 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01725, allocations: 51.88 kB / 417.3 MB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.01916, allocations: 2.298 MB / 419.6 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.38e-05/0.01923, allocations: 112.2 kB / 419.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.0193, allocations: 25.48 kB / 419.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.01938, allocations: 52.48 kB / 419.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01938, allocations: 0 / 419.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.03612, allocations: 5.955 MB / 425.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.048, allocations: 11.94 kB / 425.8 MB, free: 14.6 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.238546080887318] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 7.150611504912376 7.159471223 7.15021373 Calling exit ...