Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008204/0.0008205, allocations: 94.86 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000968/0.000968, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2118/0.2118, allocations: 45.9 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 19.92 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1355, allocations: 63.46 MB / 481.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002167/0.1377, allocations: 1.431 MB / 483.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1392, allocations: 0.9401 MB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.1393, allocations: 4 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1396, allocations: 39.83 kB / 484.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1398, allocations: 71.73 kB / 484.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1401, allocations: 99.33 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.1403, allocations: 87.69 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.54e-05/0.1404, allocations: 4 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1406, allocations: 43.78 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.1406, allocations: 31.78 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1406, allocations: 4 kB / 484.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.1407, allocations: 35.98 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.1408, allocations: 15.92 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.1408, allocations: 37.7 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.141, allocations: 92.03 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1411, allocations: 3.938 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1411, allocations: 0 / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1411, allocations: 0 / 484.6 MB, free: 2.27 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004765/0.1416, allocations: 391 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1416, allocations: 8.031 kB / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.688e-05/0.1417, allocations: 34.55 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1417, allocations: 11.91 kB / 485 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1419, allocations: 206.8 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1419, allocations: 7.984 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.142, allocations: 0 / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1421, allocations: 57.61 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1421, allocations: 3.906 kB / 485.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1421, allocations: 4 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1422, allocations: 0 / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.739e-05/0.1422, allocations: 15.98 kB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1426, allocations: 284.9 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1428, allocations: 58.62 kB / 485.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1428, allocations: 20.84 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1428, allocations: 4 kB / 485.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.143, allocations: 67.39 kB / 485.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 4.278e-06/0.143, allocations: 0 / 485.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005063/0.1435, allocations: 177.1 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1436, allocations: 59.3 kB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1438, allocations: 170.2 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1438, allocations: 29.7 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1439, allocations: 100.1 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1439, allocations: 27.64 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-06/0.1439, allocations: 4 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.144, allocations: 322.8 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.1441, allocations: 20 kB / 486.6 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.1442, allocations: 37.64 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1444, allocations: 23.98 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1444, allocations: 0 / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.1445, allocations: 101.6 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1446, allocations: 8 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1446, allocations: 0 / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1446, allocations: 3.938 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.1447, allocations: 15.98 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1447, allocations: 7.953 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.1447, allocations: 384 / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1448, allocations: 4 kB / 486.8 MB, free: 15.79 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 (10): * Single equations (assignments): 10 * 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.0001021/0.1449, allocations: 125.8 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1449, allocations: 15.84 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1449, allocations: 16.72 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.145, allocations: 3.984 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.145, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.145, allocations: 3.953 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.1455, allocations: 395.3 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1455, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1455, allocations: 11.94 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1455, allocations: 4.031 kB / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1455, allocations: 0 / 487.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1456, allocations: 7.953 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1456, allocations: 0 / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.1458, allocations: 196.3 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1458, allocations: 92.91 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1459, allocations: 4 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1459, allocations: 11.94 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.146, allocations: 12.12 kB / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.146, allocations: 0 / 487.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1461, allocations: 131.2 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.1461, allocations: 0 / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1464, allocations: 35.92 kB / 487.9 MB, free: 14.64 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: 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 (8): * Single equations (assignments): 6 * 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.001378/0.1478, allocations: 1.082 MB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1479, allocations: 59.91 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.148, allocations: 0 / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.148, allocations: 31.92 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1484, allocations: 31.39 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1495, allocations: 0.6664 MB / 489.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1497, allocations: 0.7079 MB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.337e-05/0.1498, allocations: 13.19 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.1498, allocations: 35.42 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1498, allocations: 0 / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1657, allocations: 2.898 MB / 493.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.166, allocations: 218.8 kB / 493.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.035, allocations: 0 / 493.6 MB, free: 9.059 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat