Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001658, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.00133, allocations: 202.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3632/0.3632, allocations: 43.51 MB / 313.5 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 74.55 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.117, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003367/0.1205, allocations: 2.344 MB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1222, allocations: 1.17 MB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1223, allocations: 7.938 kB / 443.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1228, allocations: 271.3 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.1232, allocations: 251.1 kB / 444 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.1238, allocations: 299.5 kB / 444.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.1242, allocations: 494.5 kB / 444.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1244, allocations: 57.28 kB / 444.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1246, allocations: 219 kB / 445 MB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1249, allocations: 255 kB / 445.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.1249, allocations: 11.98 kB / 445.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1251, allocations: 47.98 kB / 445.3 MB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1252, allocations: 103.5 kB / 445.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1253, allocations: 174.7 kB / 445.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.1257, allocations: 382.5 kB / 446 MB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1257, allocations: 0 / 446 MB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1257, allocations: 0 / 446 MB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1257, allocations: 0 / 446 MB, free: 8.672 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001074/0.1268, allocations: 0.7513 MB / 446.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1269, allocations: 16.03 kB / 446.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.1269, allocations: 46.73 kB / 446.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.127, allocations: 52.28 kB / 446.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.1275, allocations: 399.9 kB / 447.2 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1275, allocations: 20.31 kB / 447.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.1276, allocations: 19.92 kB / 447.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.128, allocations: 214.5 kB / 447.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.128, allocations: 0 / 447.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.128, allocations: 7.984 kB / 447.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.128, allocations: 7.984 kB / 447.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.1283, allocations: 91.88 kB / 447.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/0.1291, allocations: 0.8643 MB / 448.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.1297, allocations: 285.3 kB / 448.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1299, allocations: 96.2 kB / 448.8 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.1299, allocations: 11.98 kB / 448.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.1304, allocations: 223.5 kB / 449 MB, free: 5.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.1304, allocations: 0 / 449 MB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.001895/0.1323, allocations: 0.9687 MB / 450 MB, free: 4.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.1324, allocations: 170.2 kB / 450.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.133, allocations: 0.612 MB / 450.8 MB, free: 3.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.1331, allocations: 41.69 kB / 450.8 MB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1332, allocations: 221 kB / 451 MB, free: 3.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1333, allocations: 118.4 kB / 451.2 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.1335, allocations: 70.12 kB / 451.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1336, allocations: 366.8 kB / 451.6 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1338, allocations: 108.8 kB / 451.7 MB, free: 2.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.1341, allocations: 172.9 kB / 451.9 MB, free: 2.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1346, allocations: 300.8 kB / 452.1 MB, free: 2.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1346, allocations: 4 kB / 452.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006772/0.1353, allocations: 412.7 kB / 452.6 MB, free: 1.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1354, allocations: 4 kB / 452.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1354, allocations: 4 kB / 452.6 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1354, allocations: 4 kB / 452.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1357, allocations: 83.89 kB / 452.6 MB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1357, allocations: 4.156 kB / 452.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1359, allocations: 27.92 kB / 452.7 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.1359, allocations: 19.94 kB / 452.7 MB, free: 1.504 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002074/0.1361, allocations: 208.2 kB / 452.9 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1362, allocations: 55.25 kB / 453 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.1363, allocations: 71.89 kB / 453 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.1364, allocations: 7.984 kB / 453 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.1364, allocations: 0 / 453 MB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1364, allocations: 4 kB / 453 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2224/0.3588, allocations: 1.259 MB / 454.3 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.3589, allocations: 2.875 kB / 454.3 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.359, allocations: 47.55 kB / 454.3 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.359, allocations: 8.188 kB / 454.4 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.3591, allocations: 21.06 kB / 454.4 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3591, allocations: 10.94 kB / 454.4 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3591, allocations: 0.8125 kB / 454.4 MB, free: 48.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.3599, allocations: 0.8033 MB / 455.2 MB, free: 48.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.36, allocations: 122.6 kB / 455.3 MB, free: 48.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.3601, allocations: 19.3 kB / 455.3 MB, free: 48.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.3604, allocations: 18.22 kB / 455.3 MB, free: 48.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3605, allocations: 40.05 kB / 455.4 MB, free: 48.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.3606, allocations: 24.14 kB / 455.4 MB, free: 48.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004088/0.361, allocations: 455.8 kB / 455.9 MB, free: 47.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.361, allocations: 0 / 455.9 MB, free: 47.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.3615, allocations: 84.48 kB / 455.9 MB, free: 47.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001847/0.3634, allocations: 1.739 MB / 457.7 MB, free: 46.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.364, allocations: 294.2 kB / 458 MB, free: 46.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.364, allocations: 0 / 458 MB, free: 46.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.3643, allocations: 145.5 kB / 458.1 MB, free: 46.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3654, allocations: 140.4 kB / 458.2 MB, free: 46.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.3698, allocations: 4.62 MB / 462.9 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3701, allocations: 0.8419 MB / 463.7 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.3703, allocations: 91.61 kB / 463.8 MB, free: 43.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3705, allocations: 177.8 kB / 464 MB, free: 43.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3705, allocations: 0 / 464 MB, free: 43.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3901, allocations: 9.967 MB / 473.9 MB, free: 42.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/0.3903, allocations: 238.3 kB / 474.2 MB, free: 42.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.213, allocations: 0 / 474.2 MB, free: 42.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)