Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001441/0.001441, allocations: 122.2 kB / 18.49 MB, free: 4.586 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.001684/0.001684, allocations: 215.1 kB / 21.45 MB, free: 1.641 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.596/1.596, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.9 MB / 355.8 MB, free: 12.37 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1414, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00347/0.1448, allocations: 1.735 MB / 0.5542 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1468, allocations: 1.034 MB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1469, allocations: 7.938 kB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.1472, allocations: 43.72 kB / 0.5553 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1475, allocations: 95.59 kB / 0.5554 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1477, allocations: 83.66 kB / 0.5554 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1479, allocations: 95.75 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.148, allocations: 8.281 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1481, allocations: 63.64 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1482, allocations: 23.86 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1482, allocations: 4 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.1483, allocations: 47.98 kB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1484, allocations: 23.91 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.1484, allocations: 35.73 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1486, allocations: 123.4 kB / 0.5559 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1486, allocations: 3.938 kB / 0.5559 GB, free: 6.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1486, allocations: 0 / 0.5559 GB, free: 6.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1486, allocations: 0 / 0.5559 GB, free: 6.637 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.0005894/0.1492, allocations: 426.6 kB / 0.5563 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1493, allocations: 12.03 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.787e-05/0.1493, allocations: 4.188 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.1493, allocations: 30.75 kB / 0.5563 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1494, allocations: 16.89 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1497, allocations: 220.1 kB / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1497, allocations: 4.125 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1497, allocations: 7.984 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1499, allocations: 57.61 kB / 0.5566 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1499, allocations: 3.938 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1499, allocations: 4 kB / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1499, allocations: 0 / 0.5566 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.15, allocations: 23.98 kB / 0.5566 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.1504, allocations: 296.8 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1506, allocations: 54.61 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.1506, allocations: 20.86 kB / 0.557 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1507, allocations: 3.984 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1508, allocations: 67.39 kB / 0.5571 GB, free: 5.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1508, allocations: 0 / 0.5571 GB, free: 5.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.1514, allocations: 181.3 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1514, allocations: 51.41 kB / 0.5573 GB, free: 4.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1517, allocations: 218 kB / 0.5575 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1517, allocations: 29.7 kB / 0.5575 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.1517, allocations: 100.1 kB / 0.5576 GB, free: 4.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1518, allocations: 27.78 kB / 0.5576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1518, allocations: 21.72 kB / 0.5577 GB, free: 4.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.152, allocations: 330.8 kB / 0.558 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.152, allocations: 16 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.1521, allocations: 37.64 kB / 0.558 GB, free: 4.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1522, allocations: 65.7 kB / 0.5581 GB, free: 4.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1522, allocations: 0 / 0.5581 GB, free: 4.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.1525, allocations: 97.53 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1525, allocations: 8 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1525, allocations: 0 / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1525, allocations: 3.984 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.1526, allocations: 16 kB / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1526, allocations: 7.969 kB / 0.5582 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.1526, allocations: 4 kB / 0.5582 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1526, allocations: 4 kB / 0.5582 GB, free: 3.969 MB / 414.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.0001136/0.1528, allocations: 135.9 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1528, allocations: 15.91 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.1528, allocations: 17.39 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1528, allocations: 4 kB / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1528, allocations: 3.938 kB / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1528, allocations: 0 / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1533, allocations: 395.5 kB / 0.5588 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1533, allocations: 3.984 kB / 0.5588 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.1534, allocations: 12.31 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1534, allocations: 3.938 kB / 0.5588 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1534, allocations: 4 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1534, allocations: 4 kB / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1534, allocations: 0 / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1537, allocations: 212.5 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.1537, allocations: 92.98 kB / 0.5591 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1538, allocations: 4 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1538, allocations: 4 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1539, allocations: 7.984 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1539, allocations: 4 kB / 0.5591 GB, free: 2.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.154, allocations: 160.3 kB / 0.5593 GB, free: 2.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.154, allocations: 4 kB / 0.5593 GB, free: 2.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1543, allocations: 23.94 kB / 0.5593 GB, free: 2.77 MB / 414.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.002209/0.1565, allocations: 1.101 MB / 0.5604 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1567, allocations: 47.98 kB / 0.5604 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1567, allocations: 0 / 0.5604 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.1568, allocations: 31.92 kB / 0.5604 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1571, allocations: 22.34 kB / 0.5605 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1592, allocations: 1.705 MB / 0.5621 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1595, allocations: 0.708 MB / 0.5628 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.468e-05/0.1596, allocations: 24.78 kB / 0.5628 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.1597, allocations: 39.42 kB / 0.5629 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1597, allocations: 0 / 0.5629 GB, free: 15.13 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.179, allocations: 3.572 MB / 0.5664 GB, free: 11.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.41, allocations: 4.062 kB / 0.5664 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.673137167992536] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.58834715303965 8.610517661 8.457593162 Calling exit ...