Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001632, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2548/0.2548, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 72.75 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1256, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004549/0.1302, allocations: 1.825 MB / 482 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1329, allocations: 1.095 MB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1331, allocations: 4 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.1339, allocations: 315.2 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.1345, allocations: 255.2 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1349, allocations: 107.6 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.1354, allocations: 259.3 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.1355, allocations: 17.61 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1357, allocations: 131.5 kB / 484.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.136, allocations: 199.4 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1361, allocations: 8 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1362, allocations: 43.98 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.1364, allocations: 131.6 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.1366, allocations: 146.8 kB / 484.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.137, allocations: 382.9 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1371, allocations: 0 / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1371, allocations: 0 / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1371, allocations: 0 / 485.1 MB, free: 232 kB / 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.001039/0.1381, allocations: 0.7423 MB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1382, allocations: 12.03 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1382, allocations: 30.75 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.1383, allocations: 48.28 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.1389, allocations: 455.8 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1389, allocations: 8.375 kB / 486.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.139, allocations: 11.92 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.1392, allocations: 79.38 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1392, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1392, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1392, allocations: 0 / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1394, allocations: 35.91 kB / 486.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.1398, allocations: 378.4 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.1401, allocations: 109.2 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1402, allocations: 45.64 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1402, allocations: 4 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.1405, allocations: 97.08 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1405, allocations: 4 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004867/0.141, allocations: 200.9 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/0.1411, allocations: 81.11 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.1425, allocations: 1.054 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.1425, allocations: 29.7 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1428, allocations: 240 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.1429, allocations: 31.59 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-05/0.1429, allocations: 29.66 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002856/0.1432, allocations: 378.7 kB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.1434, allocations: 31.98 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1435, allocations: 51.42 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.1437, allocations: 95.84 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1438, allocations: 3.938 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003985/0.1442, allocations: 169 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.1442, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1442, allocations: 0 / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.1443, allocations: 7.984 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1444, allocations: 23.92 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1444, allocations: 4 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1446, allocations: 15.92 kB / 489.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1446, allocations: 4 kB / 489.6 MB, free: 11.47 MB / 366.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.0003383/0.1449, allocations: 226.7 kB / 489.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.145, allocations: 51.34 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.1452, allocations: 60.14 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.1452, allocations: 4 kB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.1452, allocations: 0 / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1452, allocations: 0 / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1457, allocations: 341.4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1457, allocations: 4 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.1457, allocations: 11.92 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1457, allocations: 4 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1458, allocations: 8 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1458, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1458, allocations: 0 / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.1462, allocations: 201.2 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.1464, allocations: 140.4 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1464, allocations: 8.109 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.1465, allocations: 12 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.1466, allocations: 7.984 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.1466, allocations: 4 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.1477, allocations: 0.7878 MB / 491.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1477, allocations: 0 / 491.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.148, allocations: 44 kB / 491.4 MB, free: 9.477 MB / 366.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.002198/0.1503, allocations: 1.054 MB / 492.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002915/0.1506, allocations: 87.95 kB / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1506, allocations: 0 / 492.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1507, allocations: 44.11 kB / 492.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.1512, allocations: 76.39 kB / 492.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.1578, allocations: 4.678 MB / 497.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.1584, allocations: 0.8505 MB / 498.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1585, allocations: 62.94 kB / 498.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.1587, allocations: 151.4 kB / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of SimCode: time 4.509e-06/0.1588, allocations: 0 / 498.4 MB, free: 2.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/0.2252, allocations: 8.922 MB / 0.4955 GB, free: 9.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.355, allocations: 13.38 kB / 0.4955 GB, free: 9.613 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)