Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001116/0.001116, allocations: 92.59 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.001097/0.001098, allocations: 178.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.399/1.399, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2062/0.2062, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 20.7 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002807/0.1257, allocations: 1.386 MB / 473.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1273, allocations: 0.7997 MB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.137e-05/0.1274, allocations: 4 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.1278, allocations: 43.81 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1281, allocations: 43.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1284, allocations: 91.77 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.1286, allocations: 79.7 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.831e-05/0.1287, allocations: 20.2 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.1287, allocations: 35.8 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1288, allocations: 31.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1288, allocations: 0 / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.236e-05/0.1289, allocations: 39.97 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.129, allocations: 15.92 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.129, allocations: 37.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1292, allocations: 92.08 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1292, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1292, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1292, allocations: 0 / 474.4 MB, free: 10.9 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.0004928/0.1297, allocations: 398.9 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1298, allocations: 12.03 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.1298, allocations: 30.56 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1299, allocations: 11.81 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.1301, allocations: 207.5 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1301, allocations: 4 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1301, allocations: 3.953 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1302, allocations: 53.67 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1303, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1303, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1303, allocations: 4 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.1304, allocations: 15.98 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.1308, allocations: 308.8 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1309, allocations: 46.69 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.131, allocations: 28.84 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.131, allocations: 0 / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1313, allocations: 63.39 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.1313, allocations: 0 / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005863/0.1319, allocations: 185 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1319, allocations: 55.41 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.1322, allocations: 199.3 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1322, allocations: 33.64 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.1323, allocations: 100.1 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1323, allocations: 19.72 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1324, allocations: 0 / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1325, allocations: 334.7 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.1326, allocations: 19.98 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.232e-05/0.1327, allocations: 33.7 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.1327, allocations: 32.06 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1327, allocations: 0 / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1329, allocations: 105.5 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.133, allocations: 4 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.133, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.133, allocations: 0 / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.1331, allocations: 19.98 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1331, allocations: 0 / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1331, allocations: 12.03 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1331, allocations: 0 / 476.7 MB, free: 8.359 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.0001121/0.1333, allocations: 138.2 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.1333, allocations: 11.81 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1333, allocations: 21.41 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1333, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1334, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1334, allocations: 0 / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.1338, allocations: 399.3 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1338, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1338, allocations: 12 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1338, allocations: 0 / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1338, allocations: 0.5625 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1338, allocations: 4 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1338, allocations: 7.938 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.1341, allocations: 212.1 kB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1341, allocations: 89 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1341, allocations: 0 / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.1342, allocations: 4 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.1343, allocations: 11.98 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1343, allocations: 4 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1344, allocations: 148.9 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1344, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1347, allocations: 28 kB / 477.7 MB, free: 7.188 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.001295/0.136, allocations: 1.104 MB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1362, allocations: 55.97 kB / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1362, allocations: 0 / 478.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.1363, allocations: 31.92 kB / 478.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1366, allocations: 27.97 kB / 479 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1377, allocations: 0.7274 MB / 479.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1379, allocations: 0.7043 MB / 480.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.138, allocations: 12.88 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.1381, allocations: 35.42 kB / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1381, allocations: 0 / 480.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.1503, allocations: 2.979 MB / 483.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1505, allocations: 225.3 kB / 483.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.039, allocations: 3.938 kB / 483.6 MB, free: 1.477 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat