Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009546/0.0009545, allocations: 98.92 kB / 17 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 194.3 kB / 17.9 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002603/0.0002607, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001933/0.1355, allocations: 1.462 MB / 483.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.137, allocations: 0.9596 MB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.1371, allocations: 0 / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1375, allocations: 103.7 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1378, allocations: 107.7 kB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1381, allocations: 103.6 kB / 484.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1382, allocations: 111.6 kB / 484.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1384, allocations: 25.36 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1385, allocations: 55.77 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1386, allocations: 59.81 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1386, allocations: 0 / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1387, allocations: 55.92 kB / 484.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1388, allocations: 27.91 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.1388, allocations: 45.64 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.139, allocations: 116 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.139, allocations: 7.984 kB / 484.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.139, allocations: 0 / 484.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1391, allocations: 0 / 484.9 MB, free: 2.016 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005872/0.1397, allocations: 438.7 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1397, allocations: 8.031 kB / 485.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1397, allocations: 30.56 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1398, allocations: 15.81 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1401, allocations: 231.6 kB / 485.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1401, allocations: 8 kB / 485.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1401, allocations: 4 kB / 485.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1403, allocations: 77.53 kB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1403, allocations: 0 / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1403, allocations: 4 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1404, allocations: 8 kB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.1405, allocations: 31.97 kB / 485.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.1409, allocations: 332.6 kB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.1413, allocations: 78.47 kB / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.1413, allocations: 32.84 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1414, allocations: 0 / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1415, allocations: 83.31 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1415, allocations: 0 / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007564/0.1423, allocations: 300.8 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1423, allocations: 55.52 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1426, allocations: 263.6 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1426, allocations: 33.69 kB / 486.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.1427, allocations: 112.1 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1427, allocations: 43.45 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1427, allocations: 0 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1428, allocations: 330.8 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.1429, allocations: 31.98 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.143, allocations: 64.02 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.1431, allocations: 48 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1431, allocations: 0 / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002481/0.1434, allocations: 161.4 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1434, allocations: 4 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1434, allocations: 3.953 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1434, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1435, allocations: 31.92 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1435, allocations: 0 / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.1436, allocations: 20.8 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1436, allocations: 4 kB / 487.7 MB, free: 14.95 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 (16): * Single equations (assignments): 16 * 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.0001257/0.1438, allocations: 141.8 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1438, allocations: 15.81 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.1439, allocations: 25.52 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1439, allocations: 7.953 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1439, allocations: 0 / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1439, allocations: 0 / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1445, allocations: 0.4962 MB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1445, allocations: 3.938 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.1446, allocations: 23.92 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1446, allocations: 4 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1446, allocations: 7.984 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1446, allocations: 8 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1446, allocations: 64 / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.1449, allocations: 253 kB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.145, allocations: 100.9 kB / 488.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.145, allocations: 4 kB / 488.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1451, allocations: 4 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1452, allocations: 19.92 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1452, allocations: 11.98 kB / 488.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1453, allocations: 185.5 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1454, allocations: 0 / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1456, allocations: 39.98 kB / 489 MB, free: 13.5 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 (14): * Single equations (assignments): 12 * 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.001683/0.1473, allocations: 1.195 MB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1476, allocations: 103.8 kB / 490.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1476, allocations: 0 / 490.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.1477, allocations: 51.92 kB / 490.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.148, allocations: 28.33 kB / 490.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1496, allocations: 1.01 MB / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1499, allocations: 0.7282 MB / 492.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.822e-05/0.15, allocations: 29.41 kB / 492.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.1501, allocations: 55.41 kB / 492.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1501, allocations: 0 / 492.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1651, allocations: 3.854 MB / 496.1 MB, free: 6.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.1653, allocations: 222.8 kB / 496.3 MB, free: 6.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.986, allocations: 0 / 496.3 MB, free: 6.414 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat