Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.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.001853/0.001853, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002247/0.002247, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.2 MB / 254.5 MB, free: 15.25 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.2232/0.2232, allocations: 46.87 MB / 357.4 MB, free: 10.53 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.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13",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.00232/0.00232, allocations: 79.88 kB / 0.4913 GB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1349, allocations: 65.98 MB / 0.5557 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003745/0.1386, allocations: 1.95 MB / 0.5576 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1405, allocations: 1.067 MB / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1406, allocations: 0 / 0.5587 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.141, allocations: 47.7 kB / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1414, allocations: 99.47 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1416, allocations: 95.64 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1418, allocations: 151.5 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.142, allocations: 21.55 kB / 0.5591 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1421, allocations: 59.7 kB / 0.5591 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1422, allocations: 43.72 kB / 0.5592 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1422, allocations: 12 kB / 0.5592 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1423, allocations: 51.92 kB / 0.5592 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.1424, allocations: 27.91 kB / 0.5592 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.444e-05/0.1425, allocations: 55.61 kB / 0.5593 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.1428, allocations: 151.3 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1428, allocations: 0 / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1428, allocations: 0 / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1428, allocations: 0 / 0.5594 GB, free: 2.539 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007361/0.1435, allocations: 496.1 kB / 0.5599 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1436, allocations: 12.03 kB / 0.5599 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.1436, allocations: 38.73 kB / 0.56 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1437, allocations: 16.84 kB / 0.56 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.144, allocations: 232.9 kB / 0.5602 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1441, allocations: 4.375 kB / 0.5602 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1441, allocations: 12.31 kB / 0.5602 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.1443, allocations: 113.4 kB / 0.5603 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1444, allocations: 4 kB / 0.5603 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1444, allocations: 4 kB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1444, allocations: 7.875 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.1445, allocations: 47.91 kB / 0.5604 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.1452, allocations: 0.501 MB / 0.5609 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1455, allocations: 82.59 kB / 0.561 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.1456, allocations: 40.81 kB / 0.561 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1456, allocations: 4 kB / 0.561 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.1458, allocations: 91.31 kB / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1458, allocations: 0 / 0.5611 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000398/0.1462, allocations: 145.5 kB / 0.5612 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.1463, allocations: 51.41 kB / 0.5613 GB, free: 456 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.1465, allocations: 198.2 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1465, allocations: 37.7 kB / 0.5615 GB, free: 204 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.1466, allocations: 120 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1466, allocations: 31.73 kB / 0.5616 GB, free: 48 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1467, allocations: 33.7 kB / 0.5617 GB, free: 8 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1468, allocations: 322.8 kB / 0.562 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1469, allocations: 27.98 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.147, allocations: 76.02 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.1472, allocations: 96.58 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1472, allocations: 0 / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.1475, allocations: 149.3 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1475, allocations: 8 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1476, allocations: 0 / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1476, allocations: 0 / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1477, allocations: 23.98 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1477, allocations: 3.938 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.1478, allocations: 11.95 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.1478, allocations: 8.125 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001283/0.1479, allocations: 131.5 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1479, allocations: 19.91 kB / 0.5625 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.148, allocations: 13.41 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.148, allocations: 0 / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.148, allocations: 3.938 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.148, allocations: 3.984 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.1483, allocations: 213.5 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1483, allocations: 0 / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/0.1483, allocations: 11.94 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1483, allocations: 4 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.1484, allocations: 7.984 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1484, allocations: 0 / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1484, allocations: 3.938 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.1487, allocations: 180.9 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.1488, allocations: 89.05 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1488, allocations: 4.062 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.258e-05/0.1489, allocations: 7.984 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1489, allocations: 19.86 kB / 0.5631 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.149, allocations: 4 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1491, allocations: 144.4 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1491, allocations: 192 / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1493, allocations: 27.94 kB / 0.5632 GB, free: 14.29 MB / 430.1 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002054/0.1514, allocations: 1.013 MB / 0.5642 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1517, allocations: 71.91 kB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1517, allocations: 0 / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1518, allocations: 44.16 kB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1521, allocations: 46.56 kB / 0.5644 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1542, allocations: 1.768 MB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1546, allocations: 0.7162 MB / 0.5668 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.106e-05/0.1547, allocations: 21.42 kB / 0.5668 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.1547, allocations: 43.42 kB / 0.5669 GB, free: 10.55 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1547, allocations: 0 / 0.5669 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.1818, allocations: 3.844 MB / 0.5706 GB, free: 6.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.404, allocations: 16.41 kB / 0.5706 GB, free: 6.766 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.301928509958088] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.525151830166578 8.54087576 8.395308927 Calling exit ...