Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.0007703, allocations: 96.94 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007543/0.0007545, allocations: 180.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2096/0.2096, allocations: 44.22 MB / 337.2 MB, free: 2.582 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001922/0.1321, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1334, allocations: 0.7997 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.1335, allocations: 0 / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1338, allocations: 35.83 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.134, allocations: 43.83 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1342, allocations: 91.83 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1344, allocations: 83.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.1345, allocations: 8.234 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.1346, allocations: 43.77 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.1347, allocations: 27.8 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1347, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.1348, allocations: 35.98 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.1348, allocations: 19.91 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.1349, allocations: 41.64 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.135, allocations: 80.11 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.135, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.135, allocations: 0 / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.135, allocations: 0 / 474.4 MB, free: 10.89 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.0005583/0.1356, allocations: 398.9 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1357, allocations: 12.03 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.1357, allocations: 38.55 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.1358, allocations: 11.81 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.136, allocations: 198.8 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.136, allocations: 4 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1361, allocations: 15.94 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1362, allocations: 49.67 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1363, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1363, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1363, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.824e-05/0.1364, allocations: 19.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.1368, allocations: 284.9 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.137, allocations: 58.62 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.137, allocations: 20.84 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1371, allocations: 4 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1373, allocations: 63.39 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1373, allocations: 4 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000532/0.1378, allocations: 177.2 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1379, allocations: 51.41 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.138, allocations: 186.2 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1381, allocations: 29.7 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1382, allocations: 104 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1382, allocations: 23.7 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.1382, allocations: 0 / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1383, allocations: 334.8 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.1384, allocations: 15.98 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.1385, allocations: 45.58 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.1385, allocations: 24 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1385, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.1387, allocations: 97.81 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1387, allocations: 7.984 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1388, allocations: 8.031 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1388, allocations: 0 / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1389, allocations: 16 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1389, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1389, allocations: 8 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.139, allocations: 7.984 kB / 476.6 MB, free: 8.379 MB / 350.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.0001083/0.1391, allocations: 126.3 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1391, allocations: 7.906 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.1391, allocations: 20.86 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1391, allocations: 7.984 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1392, allocations: 0 / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1392, allocations: 0 / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1396, allocations: 395.3 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1396, allocations: 4 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.1396, allocations: 4 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1397, allocations: 4 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1397, allocations: 12.02 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1397, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1397, allocations: 4 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1399, allocations: 204.1 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.14, allocations: 89.02 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.14, allocations: 7.984 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.1401, allocations: 4 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1401, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1401, allocations: 11.98 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.1402, allocations: 139.2 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1402, allocations: 0 / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1405, allocations: 23.98 kB / 477.7 MB, free: 7.223 MB / 350.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.001597/0.1421, allocations: 1.105 MB / 478.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1423, allocations: 63.97 kB / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1423, allocations: 0 / 478.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.578e-05/0.1424, allocations: 23.94 kB / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1427, allocations: 27.97 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1438, allocations: 0.6964 MB / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1441, allocations: 0.7043 MB / 480.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1442, allocations: 24.86 kB / 480.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1443, allocations: 35.42 kB / 480.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1443, allocations: 0 / 480.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.1584, allocations: 2.919 MB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1586, allocations: 219.3 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.042, allocations: 3.25 kB / 483.5 MB, free: 1.59 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat