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.002043/0.002043, allocations: 103.3 kB / 16.27 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 188.8 kB / 17.19 MB, free: 5.594 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.725/1.725, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2256/0.2256, allocations: 43.52 MB / 314 MB, free: 0.5195 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.001582/0.001582, allocations: 75.75 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1013, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003288/0.1046, allocations: 2.285 MB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.1065, allocations: 1.174 MB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1067, allocations: 7.938 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005452/0.1073, allocations: 295 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.1078, allocations: 262.9 kB / 444.7 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.1085, allocations: 334.6 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1089, allocations: 0.5063 MB / 445.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.109, allocations: 49.03 kB / 445.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1092, allocations: 235.1 kB / 445.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1095, allocations: 259 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.1095, allocations: 16 kB / 446 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1096, allocations: 59.98 kB / 446.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1097, allocations: 99.59 kB / 446.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1099, allocations: 182.7 kB / 446.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.1102, allocations: 390.4 kB / 446.7 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1103, allocations: 4 kB / 446.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1103, allocations: 0 / 446.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1103, allocations: 0 / 446.8 MB, free: 0.6406 MB / 318.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.0009439/0.1112, allocations: 0.7552 MB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1113, allocations: 15.89 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.1113, allocations: 46.73 kB / 447.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.1114, allocations: 52.28 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.1119, allocations: 403.9 kB / 448 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.112, allocations: 8.375 kB / 448 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.112, allocations: 23.94 kB / 448 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1124, allocations: 197.8 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1124, allocations: 0 / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1125, allocations: 11.94 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1125, allocations: 4 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.1127, allocations: 107.9 kB / 448.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008165/0.1136, allocations: 0.8565 MB / 449.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.1141, allocations: 289.3 kB / 449.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1143, allocations: 92.25 kB / 449.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1144, allocations: 8 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.1148, allocations: 228.7 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.1148, allocations: 4 kB / 449.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.001896/0.1167, allocations: 0.9925 MB / 450.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.1168, allocations: 162.2 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.1174, allocations: 0.6121 MB / 451.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1175, allocations: 37.7 kB / 451.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1176, allocations: 225 kB / 451.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.1177, allocations: 122.3 kB / 452 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.1178, allocations: 74.12 kB / 452 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.118, allocations: 370.8 kB / 452.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1182, allocations: 96.83 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.1184, allocations: 192.8 kB / 452.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.1189, allocations: 296.8 kB / 453 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1189, allocations: 0 / 453 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006804/0.1196, allocations: 392.7 kB / 453.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1196, allocations: 12.16 kB / 453.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1197, allocations: 0 / 453.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1197, allocations: 4 kB / 453.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.12, allocations: 87.83 kB / 453.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.12, allocations: 4 kB / 453.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1202, allocations: 23.98 kB / 453.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.1202, allocations: 16 kB / 453.5 MB, free: 9.469 MB / 334.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.000198/0.1204, allocations: 212.2 kB / 453.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.1205, allocations: 59.25 kB / 453.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1206, allocations: 72.28 kB / 453.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1206, allocations: 4 kB / 453.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.1206, allocations: 4 kB / 453.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1207, allocations: 3.984 kB / 453.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.1221, allocations: 1.257 MB / 455.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1221, allocations: 0 / 455.1 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.1222, allocations: 47.92 kB / 455.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.1222, allocations: 8.156 kB / 455.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1223, allocations: 27.86 kB / 455.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1223, allocations: 7.938 kB / 455.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1223, allocations: 0 / 455.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/0.1231, allocations: 0.8082 MB / 456 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.1232, allocations: 120.5 kB / 456.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.1233, allocations: 15.94 kB / 456.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.1237, allocations: 23.98 kB / 456.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.1238, allocations: 35.89 kB / 456.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.1239, allocations: 23.98 kB / 456.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004603/0.1243, allocations: 450.8 kB / 456.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1243, allocations: 0 / 456.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005483/0.1249, allocations: 80 kB / 456.7 MB, free: 6.098 MB / 334.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.002187/0.1271, allocations: 1.745 MB / 458.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006475/0.1277, allocations: 307.5 kB / 458.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1278, allocations: 0 / 458.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1281, allocations: 156.4 kB / 458.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1291, allocations: 146.9 kB / 459.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006309/0.1354, allocations: 4.509 MB / 463.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.1362, allocations: 0.8512 MB / 464.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.1366, allocations: 87.38 kB / 464.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.1369, allocations: 179.4 kB / 464.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.137, allocations: 0 / 464.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.1667, allocations: 10.39 MB / 475.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/8.275, allocations: 11.91 kB / 475.1 MB, free: 3.527 MB / 350.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)