Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009993/0.0009992, allocations: 96.98 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246 MB, free: 10.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2127/0.2127, allocations: 45.93 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002939, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 63.48 MB / 481.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002163/0.1351, allocations: 1.45 MB / 483.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1365, allocations: 0.944 MB / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.1366, allocations: 0 / 484 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1369, allocations: 91.75 kB / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1372, allocations: 103.7 kB / 484.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1375, allocations: 95.45 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1376, allocations: 111.7 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.1377, allocations: 8 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.1378, allocations: 51.77 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.1379, allocations: 55.75 kB / 484.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.138, allocations: 4 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1381, allocations: 51.98 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.1381, allocations: 23.91 kB / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.1382, allocations: 41.64 kB / 484.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1384, allocations: 104.1 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1384, allocations: 0 / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1384, allocations: 3.938 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1384, allocations: 0 / 484.8 MB, free: 2.062 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.0005333/0.1389, allocations: 418.8 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.139, allocations: 8.031 kB / 485.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.139, allocations: 38.56 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1391, allocations: 11.81 kB / 485.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1393, allocations: 228.3 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1393, allocations: 0 / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1394, allocations: 8 kB / 485.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1395, allocations: 57.61 kB / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1395, allocations: 0 / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1396, allocations: 11.98 kB / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1396, allocations: 0 / 485.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.1396, allocations: 27.97 kB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.14, allocations: 304.8 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1402, allocations: 66.48 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.1403, allocations: 16.98 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1403, allocations: 0 / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.1405, allocations: 75.38 kB / 486 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1405, allocations: 0 / 486 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007247/0.1412, allocations: 252.9 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1413, allocations: 51.41 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1415, allocations: 238.1 kB / 486.5 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1416, allocations: 25.7 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.1417, allocations: 116.1 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.1417, allocations: 35.45 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.1417, allocations: 3.938 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1419, allocations: 326.8 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.667e-05/0.142, allocations: 31.98 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.1421, allocations: 49.7 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.1421, allocations: 32 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1422, allocations: 3.938 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002593/0.1424, allocations: 129.5 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1424, allocations: 4 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1425, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1425, allocations: 7.953 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.1426, allocations: 19.98 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1426, allocations: 0 / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1426, allocations: 4 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1427, allocations: 4.031 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001442/0.1428, allocations: 145.8 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1428, allocations: 15.81 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.1429, allocations: 21.39 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1429, allocations: 0 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1429, allocations: 3.953 kB / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1429, allocations: 0 / 487.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.1435, allocations: 460 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1435, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.1436, allocations: 15.95 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1436, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1436, allocations: 7.984 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1436, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1436, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1439, allocations: 245 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.144, allocations: 92.91 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.144, allocations: 3.953 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.1441, allocations: 8 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1441, allocations: 7.984 kB / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1441, allocations: 4 kB / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1443, allocations: 180.4 kB / 488.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1443, allocations: 0 / 488.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1446, allocations: 31.98 kB / 488.5 MB, free: 13.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001562/0.1462, allocations: 1.177 MB / 489.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1464, allocations: 79.84 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1464, allocations: 0 / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1465, allocations: 39.92 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1469, allocations: 24.17 kB / 489.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1483, allocations: 0.8743 MB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1486, allocations: 0.7121 MB / 491.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.1486, allocations: 16.64 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.1487, allocations: 55.41 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1487, allocations: 0 / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.1637, allocations: 3.477 MB / 495 MB, free: 7.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.164, allocations: 226.1 kB / 495.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.047, allocations: 0 / 495.2 MB, free: 7.445 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat