Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001633/0.001633, allocations: 112.2 kB / 18.49 MB, free: 4.539 MB / 14.72 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.00194/0.00194, allocations: 218.9 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 46.92 MB / 357.8 MB, free: 10.31 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 0.4917 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1347, allocations: 65.98 MB / 0.5561 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003736/0.1384, allocations: 1.708 MB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1401, allocations: 1.009 MB / 0.5588 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.352e-05/0.1402, allocations: 3.938 kB / 0.5588 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1405, allocations: 63.69 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1408, allocations: 99.59 kB / 0.5589 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1411, allocations: 71.67 kB / 0.559 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1412, allocations: 99.73 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.1413, allocations: 8.234 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.1414, allocations: 39.8 kB / 0.5591 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1415, allocations: 43.7 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.1415, allocations: 0 / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.1416, allocations: 32 kB / 0.5592 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1416, allocations: 23.91 kB / 0.5592 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.302e-05/0.1417, allocations: 35.69 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.1419, allocations: 123.4 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1419, allocations: 0 / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1419, allocations: 0 / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.1419, allocations: 0 / 0.5594 GB, free: 2.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006298/0.1425, allocations: 450.4 kB / 0.5598 GB, free: 1.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1426, allocations: 12.02 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.1426, allocations: 4.188 kB / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.236e-05/0.1426, allocations: 30.75 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1427, allocations: 12.89 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.143, allocations: 225 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.143, allocations: 4.125 kB / 0.5601 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.143, allocations: 11.98 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1431, allocations: 49.67 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1431, allocations: 0 / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1432, allocations: 0 / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1432, allocations: 0 / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.1432, allocations: 19.92 kB / 0.5602 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.1435, allocations: 193.6 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.1437, allocations: 58.55 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1437, allocations: 16.84 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1437, allocations: 4 kB / 0.5604 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.1439, allocations: 63.33 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1439, allocations: 0 / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003122/0.1442, allocations: 101.6 kB / 0.5606 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1443, allocations: 59.41 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1445, allocations: 266.8 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1446, allocations: 29.7 kB / 0.5609 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1447, allocations: 116.1 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1447, allocations: 15.89 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1447, allocations: 17.72 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1449, allocations: 326.8 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.1449, allocations: 19.92 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.145, allocations: 33.7 kB / 0.5614 GB, free: 40 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1451, allocations: 45.67 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1451, allocations: 0 / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00017/0.1453, allocations: 93.52 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1453, allocations: 4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1453, allocations: 4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1453, allocations: 4.031 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.1454, allocations: 8 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1454, allocations: 0 / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1455, allocations: 11.89 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1455, allocations: 0 / 0.5616 GB, free: 15.86 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 (7): * Single equations (assignments): 7 * 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.0001808/0.1456, allocations: 140 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1457, allocations: 19.89 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.1457, allocations: 17 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1457, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1457, allocations: 4 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1457, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1459, allocations: 201.5 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1459, allocations: 4 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1459, allocations: 3.938 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1459, allocations: 4 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1459, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1459, allocations: 320 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1459, allocations: 0 / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1462, allocations: 121 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1462, allocations: 89.02 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1463, allocations: 4 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.1463, allocations: 7.922 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.1463, allocations: 7.984 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1463, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.1465, allocations: 204.6 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1465, allocations: 0 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.1467, allocations: 16 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001927/0.1487, allocations: 0.9618 MB / 0.5633 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1488, allocations: 43.92 kB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1488, allocations: 3.938 kB / 0.5634 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.1489, allocations: 24.05 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1492, allocations: 22.98 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1511, allocations: 1.682 MB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1515, allocations: 0.708 MB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.1516, allocations: 20.53 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.1516, allocations: 43.42 kB / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1516, allocations: 0 / 0.5658 GB, free: 11.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.1713, allocations: 3.555 MB / 0.5693 GB, free: 7.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.601, allocations: 13 kB / 0.5693 GB, free: 7.965 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.699624855013099] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.779672287986614 8.797066127 8.652139824 Calling exit ...