Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.001606/0.001606, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001723/0.001723, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.515/1.515, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2671/0.2671, allocations: 46.93 MB / 357.7 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 83.86 kB / 0.4918 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1291, allocations: 66.04 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003211/0.1324, allocations: 1.736 MB / 0.5579 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1342, allocations: 1.03 MB / 0.5589 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.1342, allocations: 4 kB / 0.559 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1346, allocations: 51.75 kB / 0.559 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.1349, allocations: 103.5 kB / 0.5591 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.1351, allocations: 71.73 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1353, allocations: 111.6 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1353, allocations: 8 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.1354, allocations: 47.78 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.1355, allocations: 35.84 kB / 0.5594 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1355, allocations: 4 kB / 0.5594 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.1356, allocations: 47.92 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1357, allocations: 27.86 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1358, allocations: 35.73 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.136, allocations: 127.4 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.136, allocations: 0 / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.136, allocations: 0 / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.136, allocations: 0 / 0.5596 GB, free: 2.066 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.0005913/0.1366, allocations: 438.5 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1366, allocations: 19.95 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.1367, allocations: 38.75 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1367, allocations: 8.891 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.137, allocations: 213.5 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.137, allocations: 4.375 kB / 0.5603 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.137, allocations: 4.375 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1372, allocations: 53.8 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1372, allocations: 7.938 kB / 0.5603 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1372, allocations: 4 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1372, allocations: 4 kB / 0.5604 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1373, allocations: 19.98 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1377, allocations: 304.7 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1379, allocations: 50.69 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1379, allocations: 20.84 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1379, allocations: 4 kB / 0.5607 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.1381, allocations: 71.33 kB / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1381, allocations: 0 / 0.5608 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005642/0.1387, allocations: 177.3 kB / 0.561 GB, free: 480 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1387, allocations: 59.34 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.139, allocations: 234.1 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.139, allocations: 29.7 kB / 0.5613 GB, free: 128 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.1391, allocations: 116.1 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.1391, allocations: 24.03 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1392, allocations: 21.72 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1393, allocations: 330.6 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.1394, allocations: 15.98 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.1395, allocations: 38.08 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1396, allocations: 65.64 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1396, allocations: 0 / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.1398, allocations: 105.6 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1398, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1398, allocations: 0 / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1398, allocations: 4 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1399, allocations: 19.92 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.1399, allocations: 3.938 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.14, allocations: 12.03 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.14, allocations: 3.938 kB / 0.562 GB, free: 15.34 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.0001153/0.1401, allocations: 133.8 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1401, allocations: 11.91 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.1402, allocations: 21.39 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1402, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1402, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1402, allocations: 0 / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.1407, allocations: 403.5 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1407, allocations: 3.984 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.1407, allocations: 11.94 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1407, allocations: 0 / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1407, allocations: 11.94 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1408, allocations: 3.938 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1408, allocations: 0 / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.141, allocations: 200.3 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.1411, allocations: 97 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1411, allocations: 7.938 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.1412, allocations: 0 / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.1412, allocations: 7.984 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1412, allocations: 8 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1414, allocations: 168.4 kB / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1414, allocations: 0 / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1417, allocations: 31.92 kB / 0.5631 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.002169/0.1438, allocations: 1.099 MB / 0.5642 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.144, allocations: 59.91 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.144, allocations: 0 / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.1441, allocations: 23.98 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1444, allocations: 39.61 kB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1465, allocations: 1.747 MB / 0.566 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1469, allocations: 0.708 MB / 0.5667 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.1469, allocations: 25.17 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.147, allocations: 43.42 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.147, allocations: 0 / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1726, allocations: 3.649 MB / 0.5703 GB, free: 6.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.099, allocations: 10.03 kB / 0.5703 GB, free: 6.812 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.312509469687939] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.219670068006963 8.234758772 8.0959332 Calling exit ...