Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 97.62 kB / 17 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 198.1 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.3 MB / 246 MB, free: 11.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 15.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 63.46 MB / 481.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002143/0.1364, allocations: 1.392 MB / 483 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1379, allocations: 0.9324 MB / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.138, allocations: 0 / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1384, allocations: 55.8 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1387, allocations: 83.72 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1389, allocations: 91.45 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1391, allocations: 83.7 kB / 484.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.1391, allocations: 8.219 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.1392, allocations: 51.7 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.1393, allocations: 27.86 kB / 484.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1393, allocations: 4 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.1394, allocations: 23.98 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1395, allocations: 31.84 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1395, allocations: 41.64 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1397, allocations: 96.09 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1397, allocations: 0 / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1397, allocations: 0 / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1397, allocations: 0 / 484.6 MB, free: 2.355 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004938/0.1402, allocations: 422.6 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1403, allocations: 8.031 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1403, allocations: 38.56 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1404, allocations: 11.81 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1406, allocations: 219.8 kB / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1406, allocations: 0 / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1406, allocations: 0 / 485.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1407, allocations: 49.67 kB / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-06/0.1408, allocations: 0 / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1408, allocations: 0 / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1408, allocations: 0 / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.1409, allocations: 15.98 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1411, allocations: 205.5 kB / 485.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1412, allocations: 54.56 kB / 485.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.1413, allocations: 20.84 kB / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1413, allocations: 0 / 485.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1415, allocations: 63.39 kB / 485.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1415, allocations: 4 kB / 485.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002864/0.1418, allocations: 101.4 kB / 485.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1419, allocations: 51.41 kB / 485.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1422, allocations: 272 kB / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1422, allocations: 25.7 kB / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.1423, allocations: 112.1 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1423, allocations: 15.84 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.1423, allocations: 0 / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1425, allocations: 338.8 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.1425, allocations: 12 kB / 486.6 MB, free: 132 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.1426, allocations: 29.64 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.1426, allocations: 20 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1426, allocations: 0 / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.1428, allocations: 81.48 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1428, allocations: 11.94 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1429, allocations: 7.969 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1429, allocations: 0 / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.1429, allocations: 8 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.143, allocations: 4 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.143, allocations: 0 / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.143, allocations: 4.156 kB / 486.7 MB, free: 15.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 (7): * Single equations (assignments): 7 * 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.0001047/0.1431, allocations: 141.7 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1432, allocations: 15.8 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1432, allocations: 17 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1432, allocations: 4.312 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1432, allocations: 0 / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1432, allocations: 0 / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1434, allocations: 205.6 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1434, allocations: 3.984 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.1434, allocations: 7.984 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1434, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1434, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1434, allocations: 3.984 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1435, allocations: 0 / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1436, allocations: 116.9 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.1437, allocations: 92.88 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1437, allocations: 0 / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.1438, allocations: 7.984 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1438, allocations: 7.938 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1438, allocations: 4 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.144, allocations: 200.6 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1443, allocations: 28 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0012/0.1455, allocations: 0.955 MB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1456, allocations: 39.91 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1456, allocations: 4.062 kB / 488.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.1457, allocations: 16 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.146, allocations: 31.91 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1472, allocations: 0.8341 MB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1475, allocations: 0.7169 MB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.1476, allocations: 16.55 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.1476, allocations: 43.42 kB / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1476, allocations: 0 / 490.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.1616, allocations: 3.048 MB / 493.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.1618, allocations: 220.4 kB / 493.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.105, allocations: 0 / 493.5 MB, free: 9.234 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat