Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.001478/0.001478, 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.001504/0.001504, 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.567/1.567, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2186/0.2186, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27",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.002073/0.002073, allocations: 63.91 kB / 0.4886 GB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 65.43 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003364/0.1249, allocations: 1.737 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1267, allocations: 1.03 MB / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1267, allocations: 0 / 0.5552 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.127, allocations: 47.77 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1273, allocations: 99.53 kB / 0.5554 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1276, allocations: 71.73 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1277, allocations: 107.6 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1278, allocations: 16.27 kB / 0.5556 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.1279, allocations: 39.8 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.128, allocations: 35.83 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1281, allocations: 4 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1282, allocations: 43.92 kB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.1282, allocations: 27.92 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.1283, allocations: 31.75 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1285, allocations: 119.4 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1285, allocations: 3.938 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1285, allocations: 0 / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1285, allocations: 0 / 0.5558 GB, free: 6.641 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.0006081/0.1291, allocations: 430.6 kB / 0.5563 GB, free: 6.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1292, allocations: 11.97 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.145e-05/0.1292, allocations: 192 / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1292, allocations: 42.75 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1292, allocations: 12.88 kB / 0.5563 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1296, allocations: 211.2 kB / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1296, allocations: 8.125 kB / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.1296, allocations: 4 kB / 0.5565 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1298, allocations: 53.67 kB / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1298, allocations: 0 / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1298, allocations: 0 / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1298, allocations: 0 / 0.5566 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.1299, allocations: 27.92 kB / 0.5566 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.1302, allocations: 280.9 kB / 0.5569 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1304, allocations: 58.67 kB / 0.5569 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.1305, allocations: 24.8 kB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1305, allocations: 0 / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.1307, allocations: 75.33 kB / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1307, allocations: 0 / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000565/0.1312, allocations: 181.3 kB / 0.5572 GB, free: 5.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1313, allocations: 51.41 kB / 0.5573 GB, free: 5.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1315, allocations: 202.3 kB / 0.5574 GB, free: 4.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1315, allocations: 25.7 kB / 0.5575 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.1315, allocations: 104.1 kB / 0.5576 GB, free: 4.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.1316, allocations: 23.84 kB / 0.5576 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1316, allocations: 21.72 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1317, allocations: 326.8 kB / 0.5579 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1318, allocations: 15.98 kB / 0.5579 GB, free: 4.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.1319, allocations: 37.7 kB / 0.558 GB, free: 4.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.132, allocations: 65.72 kB / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.132, allocations: 0 / 0.558 GB, free: 4.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002005/0.1322, allocations: 109.6 kB / 0.5581 GB, free: 4.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1322, allocations: 7.938 kB / 0.5582 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1322, allocations: 192 / 0.5582 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1322, allocations: 4 kB / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1323, allocations: 19.92 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1323, allocations: 3.938 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.1324, allocations: 7.984 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1324, allocations: 4.031 kB / 0.5582 GB, free: 3.996 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.000106/0.1325, allocations: 132 kB / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1325, allocations: 11.91 kB / 0.5583 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1326, allocations: 13.41 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1326, allocations: 4 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1326, allocations: 3.938 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1326, allocations: 3.984 kB / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1331, allocations: 399.3 kB / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1331, allocations: 0 / 0.5587 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.1331, allocations: 11.94 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1331, allocations: 3.938 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1331, allocations: 0 / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1331, allocations: 12.3 kB / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1331, allocations: 0 / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1334, allocations: 200.4 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.1334, allocations: 96.95 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1334, allocations: 0 / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.1335, allocations: 8 kB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1336, allocations: 7.984 kB / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1336, allocations: 0 / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1337, allocations: 152.2 kB / 0.5592 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1337, allocations: 4 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.134, allocations: 20 kB / 0.5592 GB, free: 2.824 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.002137/0.1361, allocations: 1.096 MB / 0.5603 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1363, allocations: 59.91 kB / 0.5604 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1363, allocations: 3.938 kB / 0.5604 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.1364, allocations: 27.92 kB / 0.5604 GB, free: 1.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1367, allocations: 31.91 kB / 0.5604 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1386, allocations: 1.658 MB / 0.562 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1389, allocations: 0.7041 MB / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.139, allocations: 17.19 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.139, allocations: 35.42 kB / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.139, allocations: 0 / 0.5628 GB, free: 15.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.1612, allocations: 3.521 MB / 0.5662 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.533, allocations: 0 / 0.5662 GB, free: 11.79 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.612975388998166] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.715514494979288 8.737976161 8.60543477 Calling exit ...