Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.258/0.258, allocations: 46.12 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.002438/0.002439, allocations: 83.34 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1236, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004263/0.1279, allocations: 2.378 MB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1304, allocations: 1.388 MB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1306, allocations: 7.938 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.1312, allocations: 287 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.1318, allocations: 334.6 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.1323, allocations: 219.4 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006784/0.133, allocations: 0.5531 MB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1331, allocations: 49.08 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.1334, allocations: 239 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.1337, allocations: 270.9 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1338, allocations: 20 kB / 485.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1339, allocations: 55.98 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1341, allocations: 119.5 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1343, allocations: 182.6 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.1347, allocations: 414.7 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1347, allocations: 7.984 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1347, allocations: 0 / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1348, allocations: 4 kB / 486.7 MB, free: 14.61 MB / 366.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.001185/0.1359, allocations: 0.7861 MB / 487.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.136, allocations: 12.03 kB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.1361, allocations: 42.73 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.1361, allocations: 52.28 kB / 487.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.1367, allocations: 427.7 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1368, allocations: 12.38 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1368, allocations: 15.94 kB / 488 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.1372, allocations: 209.8 kB / 488.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1373, allocations: 3.984 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1373, allocations: 8 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1373, allocations: 4 kB / 488.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.1376, allocations: 99.86 kB / 488.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.1385, allocations: 0.8643 MB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.1391, allocations: 289.3 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.1393, allocations: 96.19 kB / 489.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1394, allocations: 11.94 kB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.1399, allocations: 223.5 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.1399, allocations: 0 / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002009/0.1419, allocations: 1.01 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.812e-05/0.142, allocations: 158.2 kB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/0.1428, allocations: 0.6591 MB / 491.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1428, allocations: 49.62 kB / 491.7 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1431, allocations: 225.1 kB / 491.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1432, allocations: 126.3 kB / 492 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1434, allocations: 70.12 kB / 492.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.1436, allocations: 374.8 kB / 492.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.1438, allocations: 96.83 kB / 492.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.1442, allocations: 188.9 kB / 492.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.1447, allocations: 296.8 kB / 493 MB, free: 7.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1448, allocations: 4 kB / 493 MB, free: 7.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008899/0.1457, allocations: 412.8 kB / 493.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1457, allocations: 4 kB / 493.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1457, allocations: 4 kB / 493.5 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1457, allocations: 4 kB / 493.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.146, allocations: 83.89 kB / 493.5 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.1461, allocations: 7.938 kB / 493.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1463, allocations: 25.48 kB / 493.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1463, allocations: 12 kB / 493.6 MB, free: 7.285 MB / 366.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.0002652/0.1466, allocations: 224.2 kB / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.1467, allocations: 59.25 kB / 493.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.1468, allocations: 68.41 kB / 493.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1468, allocations: 4 kB / 493.9 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.1468, allocations: 4 kB / 493.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.1469, allocations: 3.984 kB / 493.9 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.1487, allocations: 1.28 MB / 495.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1487, allocations: 4.156 kB / 495.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.1489, allocations: 47.92 kB / 495.3 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1489, allocations: 4 kB / 495.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.1489, allocations: 23.92 kB / 495.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1489, allocations: 8.484 kB / 495.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.149, allocations: 4 kB / 495.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.1499, allocations: 0.8122 MB / 496.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.15, allocations: 128.4 kB / 496.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.1501, allocations: 19.94 kB / 496.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.1504, allocations: 19.98 kB / 496.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.1505, allocations: 39.88 kB / 496.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.1506, allocations: 23.98 kB / 496.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.1511, allocations: 482.8 kB / 496.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1511, allocations: 0 / 496.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.1517, allocations: 87.98 kB / 496.9 MB, free: 3.824 MB / 366.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.003002/0.1547, allocations: 1.721 MB / 498.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1554, allocations: 303.6 kB / 498.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1554, allocations: 0 / 498.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.1557, allocations: 157.3 kB / 499.1 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.1568, allocations: 144.7 kB / 499.2 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.1629, allocations: 4.648 MB / 0.4921 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.1636, allocations: 0.8667 MB / 0.4929 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.1639, allocations: 88.12 kB / 0.493 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.1641, allocations: 195.2 kB / 0.4932 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1641, allocations: 0 / 0.4932 GB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.2005, allocations: 10.77 MB / 0.5037 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/8.698, allocations: 3.938 kB / 0.5037 GB, free: 0.9766 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)