Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_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.0008587/0.0008589, allocations: 95.72 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008893/0.0008894, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.17 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002619/0.0002619, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.123, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002754/0.1258, allocations: 2.05 MB / 485.2 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.1283, allocations: 1.364 MB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1285, allocations: 7.938 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.1291, allocations: 275.3 kB / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.1298, allocations: 299 kB / 487.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.1303, allocations: 187.7 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.131, allocations: 0.5257 MB / 487.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1312, allocations: 57 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003923/0.1316, allocations: 219 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.132, allocations: 270.8 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.1321, allocations: 8 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1322, allocations: 47.98 kB / 488.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1324, allocations: 107.5 kB / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1326, allocations: 200.3 kB / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1331, allocations: 398.5 kB / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1331, allocations: 0 / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1331, allocations: 0 / 489.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.1331, allocations: 4 kB / 489.2 MB, free: 14.05 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.001235/0.1343, allocations: 0.7164 MB / 489.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1344, allocations: 8.875 kB / 489.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.896e-05/0.1345, allocations: 46.73 kB / 489.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.1346, allocations: 56.28 kB / 490 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.1353, allocations: 423.7 kB / 490.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1353, allocations: 8.375 kB / 490.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.1353, allocations: 19.94 kB / 490.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.1357, allocations: 201.8 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1358, allocations: 3.938 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1358, allocations: 8 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1358, allocations: 8 kB / 490.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.1361, allocations: 99.86 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009026/0.137, allocations: 0.8604 MB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.1376, allocations: 293.3 kB / 491.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.1378, allocations: 108.2 kB / 492 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1378, allocations: 4 kB / 492 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.1382, allocations: 228.4 kB / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/0.1383, allocations: 0 / 492.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.001996/0.1403, allocations: 1.004 MB / 493.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.1404, allocations: 166.2 kB / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007239/0.1411, allocations: 0.6591 MB / 494 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.1411, allocations: 45.62 kB / 494.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1413, allocations: 233.1 kB / 494.3 MB, free: 8.555 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1414, allocations: 118.4 kB / 494.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1415, allocations: 41.69 kB / 494.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1416, allocations: 370.8 kB / 494.8 MB, free: 8.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.1419, allocations: 96.83 kB / 494.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.1421, allocations: 192.8 kB / 495.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1426, allocations: 296.5 kB / 495.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1426, allocations: 4 kB / 495.4 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007155/0.1434, allocations: 408.6 kB / 495.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1434, allocations: 4 kB / 495.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1434, allocations: 4 kB / 495.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1434, allocations: 4 kB / 495.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1437, allocations: 83.84 kB / 495.9 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1437, allocations: 7.984 kB / 495.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.1439, allocations: 16.44 kB / 495.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.144, allocations: 24.08 kB / 496 MB, free: 6.832 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.0002131/0.1442, allocations: 212.2 kB / 496.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.1443, allocations: 67.23 kB / 496.2 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1444, allocations: 64.41 kB / 496.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1444, allocations: 4 kB / 496.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1444, allocations: 4 kB / 496.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1444, allocations: 7.984 kB / 496.3 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.1459, allocations: 1.281 MB / 497.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1459, allocations: 4.031 kB / 497.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.1461, allocations: 55.91 kB / 497.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1461, allocations: 4 kB / 497.6 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1461, allocations: 15.94 kB / 497.7 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.1461, allocations: 15.86 kB / 497.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1461, allocations: 0 / 497.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.1469, allocations: 0.8087 MB / 498.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1471, allocations: 140.4 kB / 498.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.1471, allocations: 19.94 kB / 498.6 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.1475, allocations: 19.98 kB / 498.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.1476, allocations: 31.95 kB / 498.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.1476, allocations: 23.98 kB / 498.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.1481, allocations: 482.8 kB / 499.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1481, allocations: 4 kB / 499.2 MB, free: 3.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005482/0.1487, allocations: 87.89 kB / 499.3 MB, free: 3.367 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.002043/0.1507, allocations: 1.745 MB / 0.4893 GB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.1513, allocations: 283.7 kB / 0.4896 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1513, allocations: 320 / 0.4896 GB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.1516, allocations: 155.7 kB / 0.4897 GB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.1528, allocations: 136.1 kB / 0.4898 GB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/0.1586, allocations: 4.777 MB / 0.4945 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.159, allocations: 0.8554 MB / 0.4953 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000257/0.1593, allocations: 84.08 kB / 0.4954 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.1595, allocations: 183.4 kB / 0.4956 GB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1595, allocations: 0 / 0.4956 GB, free: 11.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.182, allocations: 10.06 MB / 0.5054 GB, free: 1.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.1822, allocations: 246.4 kB / 0.5056 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.118, allocations: 0 / 0.5056 GB, free: 0.8984 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)