Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001723/0.001723, allocations: 113 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.002216/0.002216, allocations: 217.4 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2164/0.2164, allocations: 44.91 MB / 355.8 MB, free: 12.39 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001893/0.001893, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 65.42 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003009/0.124, allocations: 1.735 MB / 0.5542 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1257, allocations: 1.032 MB / 0.5552 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.1258, allocations: 7.938 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.126, allocations: 55.62 kB / 0.5553 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1263, allocations: 103.6 kB / 0.5554 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1265, allocations: 79.67 kB / 0.5555 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1267, allocations: 99.73 kB / 0.5556 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.899e-05/0.1268, allocations: 8.281 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.857e-05/0.1269, allocations: 59.66 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.1269, allocations: 27.84 kB / 0.5556 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.127, allocations: 4 kB / 0.5557 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.127, allocations: 43.98 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.1271, allocations: 27.86 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.1272, allocations: 47.66 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1274, allocations: 143.3 kB / 0.5559 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1274, allocations: 4 kB / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1274, allocations: 0 / 0.5559 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1274, allocations: 0 / 0.5559 GB, free: 6.57 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.000557/0.1279, allocations: 446.4 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.128, allocations: 12.03 kB / 0.5563 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.848e-06/0.128, allocations: 192 / 0.5563 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.128, allocations: 38.73 kB / 0.5564 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.1281, allocations: 16.84 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1283, allocations: 225 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1284, allocations: 8.125 kB / 0.5566 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1284, allocations: 4 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1285, allocations: 61.59 kB / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1285, allocations: 0 / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1285, allocations: 0 / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1286, allocations: 0 / 0.5567 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.1286, allocations: 19.98 kB / 0.5567 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.129, allocations: 304.8 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1292, allocations: 50.62 kB / 0.557 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.1292, allocations: 20.84 kB / 0.5571 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1292, allocations: 0 / 0.5571 GB, free: 5.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.1294, allocations: 71.39 kB / 0.5571 GB, free: 5.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1294, allocations: 0 / 0.5571 GB, free: 5.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005579/0.1299, allocations: 197.2 kB / 0.5573 GB, free: 4.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.13, allocations: 51.41 kB / 0.5574 GB, free: 4.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1302, allocations: 275.7 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1303, allocations: 25.7 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1303, allocations: 112.1 kB / 0.5578 GB, free: 4.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.1304, allocations: 23.84 kB / 0.5578 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.1304, allocations: 29.72 kB / 0.5578 GB, free: 4.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1306, allocations: 326.8 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/0.1306, allocations: 27.88 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.1307, allocations: 33.7 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1308, allocations: 62.08 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1308, allocations: 0 / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.131, allocations: 113.4 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.131, allocations: 7.984 kB / 0.5584 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.131, allocations: 4 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1311, allocations: 0 / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.1311, allocations: 16 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1312, allocations: 3.938 kB / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1312, allocations: 7.984 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1312, allocations: 4 kB / 0.5584 GB, free: 3.773 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.0001194/0.1313, allocations: 144 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.1314, allocations: 15.91 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.1314, allocations: 17.41 kB / 0.5586 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1314, allocations: 0 / 0.5586 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1314, allocations: 3.938 kB / 0.5586 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1314, allocations: 3.984 kB / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.1319, allocations: 411.2 kB / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1319, allocations: 0 / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.1319, allocations: 12.03 kB / 0.559 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1319, allocations: 3.938 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.1319, allocations: 0 / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1319, allocations: 4 kB / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1319, allocations: 0 / 0.559 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1322, allocations: 208.2 kB / 0.5592 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1323, allocations: 96.94 kB / 0.5593 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1323, allocations: 8 kB / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.1324, allocations: 0 / 0.5593 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1324, allocations: 11.98 kB / 0.5593 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1324, allocations: 4 kB / 0.5593 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.1326, allocations: 196.6 kB / 0.5595 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1326, allocations: 4 kB / 0.5595 GB, free: 2.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1328, allocations: 23.98 kB / 0.5595 GB, free: 2.523 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.002129/0.135, allocations: 1.109 MB / 0.5606 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1352, allocations: 51.97 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1352, allocations: 0 / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.1352, allocations: 31.91 kB / 0.5607 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1356, allocations: 35.91 kB / 0.5607 GB, free: 1.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1378, allocations: 1.839 MB / 0.5625 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1382, allocations: 0.7274 MB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.1382, allocations: 13.19 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.1383, allocations: 47.41 kB / 0.5633 GB, free: 14.72 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1383, allocations: 3.938 kB / 0.5633 GB, free: 14.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1571, allocations: 3.846 MB / 0.567 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.549/8.706, allocations: 9 kB / 0.567 GB, free: 10.94 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.77387220802484] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.891862994001713 8.920541768 8.788226972 Calling exit ...