Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.001585/0.001585, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001821/0.001821, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 67.64 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1183, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003647/0.1219, allocations: 1.796 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1238, allocations: 0.9549 MB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.124, allocations: 3.938 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005543/0.1245, allocations: 295.3 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.125, allocations: 207.4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1255, allocations: 171.1 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1258, allocations: 247.3 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.1259, allocations: 13.55 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.1261, allocations: 123.6 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.1264, allocations: 184 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.1264, allocations: 8 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1265, allocations: 47.97 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1267, allocations: 128.6 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1269, allocations: 146.8 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.1273, allocations: 351 kB / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1273, allocations: 0 / 474 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1273, allocations: 4 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.1274, allocations: 0 / 474 MB, free: 9.598 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001099/0.1285, allocations: 0.7114 MB / 474.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1285, allocations: 8.031 kB / 474.7 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1286, allocations: 38.75 kB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.1287, allocations: 48.28 kB / 474.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.1293, allocations: 447.8 kB / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1293, allocations: 384 / 475.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1293, allocations: 7.938 kB / 475.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1295, allocations: 95.33 kB / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1296, allocations: 0 / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1296, allocations: 0 / 475.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1296, allocations: 4 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1297, allocations: 35.91 kB / 475.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1301, allocations: 370.3 kB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1304, allocations: 113.1 kB / 475.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.1305, allocations: 41.69 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1305, allocations: 0 / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.1308, allocations: 117 kB / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1308, allocations: 0 / 476 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004933/0.1313, allocations: 189.5 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.1314, allocations: 89.03 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1325, allocations: 1.011 MB / 477.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1326, allocations: 25.7 kB / 477.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1328, allocations: 224.1 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.1328, allocations: 31.64 kB / 477.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.1329, allocations: 29.66 kB / 477.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.133, allocations: 366.8 kB / 478 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.1331, allocations: 27.98 kB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1333, allocations: 59.42 kB / 478 MB, free: 5.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1334, allocations: 95.41 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1335, allocations: 3.938 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003128/0.1338, allocations: 161 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1338, allocations: 8.062 kB / 478.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1338, allocations: 4 kB / 478.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1338, allocations: 0 / 478.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.134, allocations: 23.92 kB / 478.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.134, allocations: 4 kB / 478.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1341, allocations: 15.89 kB / 478.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.1341, allocations: 4 kB / 478.4 MB, free: 4.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002062/0.1343, allocations: 221.7 kB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1344, allocations: 51.44 kB / 478.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.72e-05/0.1345, allocations: 55.84 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1345, allocations: 4 kB / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1345, allocations: 0 / 478.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1345, allocations: 3.984 kB / 478.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.1348, allocations: 333.4 kB / 479 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1348, allocations: 3.938 kB / 479 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.1349, allocations: 16.12 kB / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1349, allocations: 0 / 479 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1349, allocations: 7.984 kB / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1349, allocations: 0 / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1349, allocations: 4 kB / 479 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.1352, allocations: 201.2 kB / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.1354, allocations: 136.5 kB / 479.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.1354, allocations: 8 kB / 479.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.1355, allocations: 3.984 kB / 479.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1356, allocations: 8 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1356, allocations: 11.98 kB / 479.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007387/0.1363, allocations: 0.7487 MB / 480.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1363, allocations: 0 / 480.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.1366, allocations: 44 kB / 480.2 MB, free: 3.004 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001406/0.138, allocations: 1.049 MB / 481.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.1383, allocations: 83.84 kB / 481.3 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1383, allocations: 0 / 481.3 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1384, allocations: 43.97 kB / 481.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.1389, allocations: 67.42 kB / 481.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.1442, allocations: 4.525 MB / 486 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1446, allocations: 0.8465 MB / 486.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1448, allocations: 55.44 kB / 486.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.1449, allocations: 143.4 kB / 487 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.145, allocations: 0 / 487 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.1704, allocations: 8.616 MB / 495.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/7.98, allocations: 0 / 495.6 MB, free: 3.695 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)