Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008077/0.0008077, allocations: 102.1 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.0009715/0.0009716, allocations: 192.5 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.379/1.379, allocations: 227.3 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.92 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 12 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00195/0.1255, allocations: 1.45 MB / 483.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1274, allocations: 0.9479 MB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1275, allocations: 0 / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.128, allocations: 103.7 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1284, allocations: 111.7 kB / 484.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1288, allocations: 91.83 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.129, allocations: 111.7 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1291, allocations: 11.98 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1293, allocations: 59.7 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1294, allocations: 59.81 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1295, allocations: 4 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1297, allocations: 51.97 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.1298, allocations: 27.86 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.1298, allocations: 41.64 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1301, allocations: 112 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1301, allocations: 0 / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1301, allocations: 0 / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1301, allocations: 0 / 484.8 MB, free: 2.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006891/0.1308, allocations: 442.7 kB / 485.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1308, allocations: 8.031 kB / 485.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.1309, allocations: 34.55 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.131, allocations: 19.75 kB / 485.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.1313, allocations: 223.6 kB / 485.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1313, allocations: 8 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1314, allocations: 3.984 kB / 485.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1316, allocations: 61.67 kB / 485.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1316, allocations: 0 / 485.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1317, allocations: 8 kB / 485.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1317, allocations: 0 / 485.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1318, allocations: 35.91 kB / 485.6 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.1324, allocations: 324.7 kB / 486 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.1328, allocations: 70.55 kB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.1329, allocations: 36.88 kB / 486.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1329, allocations: 0 / 486.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.1332, allocations: 71.38 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 4.017e-06/0.1332, allocations: 0 / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001102/0.1343, allocations: 285.4 kB / 486.4 MB, free: 292 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1344, allocations: 51.41 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.1348, allocations: 261.2 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.1349, allocations: 29.7 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.135, allocations: 116.1 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.1351, allocations: 35.45 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.1351, allocations: 8 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1353, allocations: 326.8 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1354, allocations: 27.98 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1356, allocations: 65.12 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1357, allocations: 40.05 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1358, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004113/0.1362, allocations: 137.4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1362, allocations: 4 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1362, allocations: 4 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.1363, allocations: 7.953 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1364, allocations: 27.92 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1365, allocations: 4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.1365, allocations: 4.031 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1366, allocations: 4 kB / 487.5 MB, free: 15.11 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 (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.0001944/0.1368, allocations: 141.8 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1368, allocations: 19.75 kB / 487.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.1369, allocations: 17.41 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1369, allocations: 4 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1369, allocations: 7.891 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.137, allocations: 3.984 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.1379, allocations: 480 kB / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1379, allocations: 0 / 488.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-05/0.138, allocations: 19.89 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.138, allocations: 0 / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.138, allocations: 4 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.138, allocations: 3.984 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1381, allocations: 7.984 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1384, allocations: 245 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1384, allocations: 96.91 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1385, allocations: 7.953 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1386, allocations: 4 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1387, allocations: 15.98 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1387, allocations: 4 kB / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.139, allocations: 192.2 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.139, allocations: 0 / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1395, allocations: 32 kB / 488.8 MB, free: 13.71 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 (12): * Single equations (assignments): 10 * 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.002585/0.1421, allocations: 1.189 MB / 490 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1423, allocations: 91.84 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1423, allocations: 0 / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1425, allocations: 43.92 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005707/0.143, allocations: 31.55 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1452, allocations: 0.9714 MB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1457, allocations: 0.7204 MB / 491.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.027e-05/0.1458, allocations: 33 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.1459, allocations: 47.41 kB / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1459, allocations: 0 / 491.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.1628, allocations: 3.721 MB / 495.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/0.1631, allocations: 226.8 kB / 495.9 MB, free: 6.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.154, allocations: 0 / 495.9 MB, free: 6.824 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat