Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_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.001393/0.001393, allocations: 100.4 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 192.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 12 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 63.47 MB / 481.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001988/0.1313, allocations: 1.521 MB / 483.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.133, allocations: 1.034 MB / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.1331, allocations: 0 / 484.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.1337, allocations: 303.3 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.1341, allocations: 227.4 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.1345, allocations: 143.1 kB / 484.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1348, allocations: 223.3 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.186e-05/0.1349, allocations: 13.69 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.135, allocations: 115.6 kB / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1353, allocations: 171.5 kB / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1353, allocations: 0 / 485.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1354, allocations: 39.98 kB / 485.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1356, allocations: 139.6 kB / 485.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.195e-05/0.1356, allocations: 77.45 kB / 485.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.136, allocations: 287.7 kB / 485.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.136, allocations: 3.938 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.136, allocations: 0 / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.136, allocations: 0 / 485.9 MB, free: 0.9297 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.0008912/0.1369, allocations: 0.6803 MB / 486.6 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1369, allocations: 12.03 kB / 486.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.137, allocations: 34.56 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1371, allocations: 47.44 kB / 486.7 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.1376, allocations: 438.9 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1377, allocations: 4 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1377, allocations: 4 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1379, allocations: 91.36 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1379, allocations: 0 / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1379, allocations: 0 / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1379, allocations: 0 / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.138, allocations: 35.91 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.1385, allocations: 382.3 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1388, allocations: 109.2 kB / 487.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.1389, allocations: 41.69 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1389, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1391, allocations: 113 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.1391, allocations: 0 / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004442/0.1396, allocations: 193 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1397, allocations: 85.03 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.1407, allocations: 1.057 MB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1408, allocations: 29.7 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.141, allocations: 236.1 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.141, allocations: 23.7 kB / 489.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.141, allocations: 4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1412, allocations: 370.7 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.1413, allocations: 31.97 kB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/0.1414, allocations: 59.42 kB / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.1415, allocations: 35.98 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1415, allocations: 0 / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002805/0.1418, allocations: 169.5 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1418, allocations: 4 kB / 490.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1419, allocations: 4 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1419, allocations: 3.938 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.142, allocations: 28.05 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.142, allocations: 0 / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.732e-05/0.1421, allocations: 15.92 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1421, allocations: 4 kB / 490.2 MB, free: 12.36 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.1424, allocations: 229.6 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.1424, allocations: 55.33 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.216e-05/0.1425, allocations: 60.14 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1425, allocations: 0 / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1425, allocations: 4 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1426, allocations: 4 kB / 490.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.1429, allocations: 353.3 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1429, allocations: 0 / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.143, allocations: 8 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.143, allocations: 0 / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.143, allocations: 3.984 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.143, allocations: 4 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.143, allocations: 3.984 kB / 490.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1433, allocations: 205.2 kB / 491.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1435, allocations: 148.5 kB / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1435, allocations: 0 / 491.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1436, allocations: 11.98 kB / 491.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.1437, allocations: 4 kB / 491.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1437, allocations: 7.984 kB / 491.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007826/0.1445, allocations: 0.7878 MB / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.1445, allocations: 0 / 492.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1448, allocations: 51.84 kB / 492.1 MB, free: 10.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.1462, allocations: 1.047 MB / 493.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1465, allocations: 87.89 kB / 493.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1465, allocations: 0 / 493.3 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.1466, allocations: 35.92 kB / 493.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.147, allocations: 62.27 kB / 493.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.1513, allocations: 2.965 MB / 496.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1518, allocations: 0.8468 MB / 497.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1519, allocations: 58.94 kB / 497.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.1521, allocations: 155.4 kB / 497.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1521, allocations: 0 / 497.4 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1726, allocations: 8.207 MB / 0.4937 GB, free: 13.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.1728, allocations: 224.7 kB / 0.4939 GB, free: 12.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.252, allocations: 0 / 0.4939 GB, free: 12.77 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat