Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001697/0.001697, allocations: 114.3 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.001844/0.001844, allocations: 219 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.585/1.585, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.246/0.246, allocations: 44.9 MB / 355.8 MB, free: 12.31 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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001956/0.001956, allocations: 67.91 kB / 0.4886 GB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1387, allocations: 65.42 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003458/0.1421, allocations: 1.725 MB / 0.5542 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1439, allocations: 1.038 MB / 0.5552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.144, allocations: 3.938 kB / 0.5552 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1444, allocations: 43.77 kB / 0.5553 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.1447, allocations: 95.55 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1449, allocations: 75.72 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1451, allocations: 103.7 kB / 0.5555 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1453, allocations: 20.27 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1454, allocations: 47.72 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.1455, allocations: 31.86 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1455, allocations: 4 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1456, allocations: 51.91 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1457, allocations: 19.92 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1457, allocations: 35.73 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.146, allocations: 119.4 kB / 0.5558 GB, free: 6.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.146, allocations: 7.938 kB / 0.5559 GB, free: 6.605 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.146, allocations: 0 / 0.5559 GB, free: 6.605 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.146, allocations: 0 / 0.5559 GB, free: 6.605 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.0006547/0.1466, allocations: 430.6 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1467, allocations: 8.031 kB / 0.5563 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.1467, allocations: 192 / 0.5563 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1467, allocations: 34.69 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.1468, allocations: 20.81 kB / 0.5563 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1471, allocations: 220.1 kB / 0.5565 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1471, allocations: 8.109 kB / 0.5565 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1471, allocations: 8 kB / 0.5566 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1473, allocations: 53.67 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1473, allocations: 0 / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1473, allocations: 0 / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1473, allocations: 0 / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.1474, allocations: 19.98 kB / 0.5566 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1478, allocations: 300.7 kB / 0.5569 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.148, allocations: 58.67 kB / 0.557 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.1481, allocations: 16.86 kB / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1481, allocations: 0 / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.1483, allocations: 71.33 kB / 0.557 GB, free: 5.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1483, allocations: 0 / 0.557 GB, free: 5.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006043/0.1489, allocations: 185.3 kB / 0.5572 GB, free: 5.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1489, allocations: 55.41 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.1491, allocations: 214 kB / 0.5575 GB, free: 4.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1492, allocations: 25.7 kB / 0.5575 GB, free: 4.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1493, allocations: 108.1 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.1493, allocations: 23.8 kB / 0.5576 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.1493, allocations: 21.7 kB / 0.5577 GB, free: 4.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1495, allocations: 326.8 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.1496, allocations: 20 kB / 0.558 GB, free: 4.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.1496, allocations: 33.7 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1498, allocations: 69.7 kB / 0.5581 GB, free: 4.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1498, allocations: 0 / 0.5581 GB, free: 4.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002271/0.15, allocations: 97.58 kB / 0.5582 GB, free: 3.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.15, allocations: 11.98 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.15, allocations: 4.219 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.15, allocations: 0 / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.1501, allocations: 23.88 kB / 0.5582 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1501, allocations: 3.938 kB / 0.5582 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1502, allocations: 4 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1502, allocations: 11.92 kB / 0.5582 GB, free: 3.922 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.0001129/0.1503, allocations: 128 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.1504, allocations: 11.91 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1504, allocations: 17.39 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1504, allocations: 8 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1504, allocations: 3.938 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1504, allocations: 0 / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.1509, allocations: 391.3 kB / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1509, allocations: 0 / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.151, allocations: 8 kB / 0.5588 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.151, allocations: 3.938 kB / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.151, allocations: 4.375 kB / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.151, allocations: 7.969 kB / 0.5588 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.151, allocations: 4 kB / 0.5588 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1513, allocations: 204.3 kB / 0.559 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.1513, allocations: 92.98 kB / 0.5591 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1514, allocations: 4 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1514, allocations: 4 kB / 0.5591 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1515, allocations: 15.97 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1515, allocations: 4 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1516, allocations: 156.3 kB / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1516, allocations: 0 / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1519, allocations: 27.94 kB / 0.5593 GB, free: 2.738 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.002288/0.1542, allocations: 1.104 MB / 0.5604 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.1544, allocations: 55.91 kB / 0.5604 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1544, allocations: 4.062 kB / 0.5604 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1545, allocations: 27.92 kB / 0.5604 GB, free: 1.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1548, allocations: 27.97 kB / 0.5605 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.1569, allocations: 1.693 MB / 0.5621 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1573, allocations: 0.7119 MB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.1573, allocations: 16.8 kB / 0.5628 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.1574, allocations: 35.42 kB / 0.5629 GB, free: 15.11 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1574, allocations: 4 kB / 0.5629 GB, free: 15.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.176, allocations: 3.567 MB / 0.5664 GB, free: 11.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.479, allocations: 8 kB / 0.5664 GB, free: 11.61 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.736492137017194] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.657532943005208 8.673910175 8.524827148 Calling exit ...