Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001628/0.001628, allocations: 118.7 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.002419/0.002419, allocations: 210.5 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.543/1.543, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2291/0.2291, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",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.002267/0.002267, allocations: 91.83 kB / 0.4913 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 65.98 MB / 0.5557 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003339/0.1281, allocations: 1.942 MB / 0.5576 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1298, allocations: 1.071 MB / 0.5587 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1299, allocations: 7.938 kB / 0.5587 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1302, allocations: 51.69 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.1305, allocations: 95.53 kB / 0.5588 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1307, allocations: 91.66 kB / 0.5589 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1309, allocations: 155.5 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.131, allocations: 17.55 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1311, allocations: 55.72 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.1312, allocations: 55.7 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1313, allocations: 4 kB / 0.5592 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.1314, allocations: 51.98 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1314, allocations: 23.92 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.156e-05/0.1315, allocations: 59.59 kB / 0.5593 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1317, allocations: 151.3 kB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1317, allocations: 0 / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1317, allocations: 0 / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1318, allocations: 0 / 0.5594 GB, free: 2.578 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.0006892/0.1324, allocations: 488.1 kB / 0.5599 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1325, allocations: 12.02 kB / 0.5599 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.1325, allocations: 42.75 kB / 0.56 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.1326, allocations: 12.84 kB / 0.56 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.1329, allocations: 240.8 kB / 0.5602 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1329, allocations: 4.375 kB / 0.5602 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1329, allocations: 8.375 kB / 0.5602 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.1332, allocations: 118.1 kB / 0.5603 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1332, allocations: 3.938 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1332, allocations: 0 / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1332, allocations: 0 / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1334, allocations: 55.91 kB / 0.5604 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.134, allocations: 0.5165 MB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.1343, allocations: 78.66 kB / 0.561 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.1344, allocations: 40.78 kB / 0.561 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1344, allocations: 0 / 0.561 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1346, allocations: 79.38 kB / 0.5611 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1346, allocations: 4 kB / 0.5611 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003906/0.135, allocations: 141.5 kB / 0.5612 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1351, allocations: 51.41 kB / 0.5613 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1353, allocations: 206.2 kB / 0.5615 GB, free: 288 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1353, allocations: 33.7 kB / 0.5615 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1354, allocations: 112 kB / 0.5616 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1354, allocations: 35.73 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.1354, allocations: 29.72 kB / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1356, allocations: 326.8 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.364e-05/0.1357, allocations: 31.97 kB / 0.562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1358, allocations: 64.34 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.136, allocations: 104.2 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.136, allocations: 384 / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002835/0.1363, allocations: 141.4 kB / 0.5623 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1363, allocations: 9.875 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1363, allocations: 0 / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1363, allocations: 4 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1364, allocations: 27.92 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1364, allocations: 7.938 kB / 0.5624 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.1365, allocations: 7.953 kB / 0.5624 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1365, allocations: 4 kB / 0.5624 GB, free: 15.3 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.0001141/0.1366, allocations: 129.9 kB / 0.5625 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.1367, allocations: 15.91 kB / 0.5625 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.1367, allocations: 25.38 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1367, allocations: 0 / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1367, allocations: 3.938 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1367, allocations: 4 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1369, allocations: 213.5 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1369, allocations: 0 / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.137, allocations: 15.92 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.137, allocations: 4 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.137, allocations: 7.938 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.137, allocations: 0 / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.137, allocations: 3.938 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1374, allocations: 176.9 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.1375, allocations: 93.03 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1375, allocations: 8 kB / 0.563 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.1376, allocations: 8.062 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1376, allocations: 11.92 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1376, allocations: 4 kB / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1377, allocations: 144.4 kB / 0.5632 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1377, allocations: 0 / 0.5632 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.138, allocations: 28.12 kB / 0.5632 GB, free: 14.32 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.002048/0.14, allocations: 1.014 MB / 0.5642 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1403, allocations: 79.83 kB / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1403, allocations: 4 kB / 0.5643 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.1404, allocations: 31.92 kB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1407, allocations: 58.66 kB / 0.5644 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.1429, allocations: 1.76 MB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1433, allocations: 0.7123 MB / 0.5668 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.1433, allocations: 21.41 kB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.1434, allocations: 51.41 kB / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1434, allocations: 0 / 0.5669 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1692, allocations: 3.842 MB / 0.5706 GB, free: 6.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.152, allocations: 13.14 kB / 0.5706 GB, free: 6.805 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.21181642729789] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.277812953107059 8.298788056 8.163255989 Calling exit ...