Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.0012/0.0012, allocations: 95.06 kB / 16.98 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.001402/0.001402, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.47/1.47, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2286/0.2286, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.000361, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00179/0.1296, allocations: 1.391 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1309, allocations: 0.7881 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.065e-05/0.131, allocations: 3.938 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1313, allocations: 35.83 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1315, allocations: 43.88 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1319, allocations: 91.7 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.132, allocations: 59.86 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1321, allocations: 12.23 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.1322, allocations: 39.83 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.1323, allocations: 27.86 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1323, allocations: 0 / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.998e-05/0.1324, allocations: 24 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1325, allocations: 23.89 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1326, allocations: 41.64 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1327, allocations: 80.09 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1327, allocations: 7.938 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1327, allocations: 4 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1328, allocations: 0 / 474.2 MB, free: 10.95 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.0005683/0.1333, allocations: 398.9 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1334, allocations: 8.031 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.1334, allocations: 42.48 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.1335, allocations: 7.906 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1337, allocations: 203.6 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1338, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1338, allocations: 11.95 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1339, allocations: 57.66 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.134, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.134, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.134, allocations: 0 / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.245e-05/0.1341, allocations: 27.92 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1344, allocations: 280.9 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1346, allocations: 62.67 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1346, allocations: 3.984 kB / 475.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.1348, allocations: 75.36 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1348, allocations: 0 / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.1353, allocations: 177.1 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1353, allocations: 59.34 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1355, allocations: 195.3 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1355, allocations: 33.64 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1356, allocations: 104.1 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.1356, allocations: 19.72 kB / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1356, allocations: 0 / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1357, allocations: 330.8 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.1358, allocations: 15.98 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.1358, allocations: 41.7 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.1359, allocations: 24 kB / 476.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1359, allocations: 0 / 476.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001662/0.1361, allocations: 101.5 kB / 476.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1361, allocations: 6.5 kB / 476.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1361, allocations: 4 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1361, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.111e-05/0.1362, allocations: 12 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1363, allocations: 4.031 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.1363, allocations: 15.92 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1363, allocations: 4 kB / 476.5 MB, free: 8.43 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 9.655e-05/0.1364, allocations: 126.3 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.1365, allocations: 15.81 kB / 476.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1365, allocations: 21.39 kB / 476.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1365, allocations: 0 / 476.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1365, allocations: 0 / 476.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1365, allocations: 4 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.137, allocations: 387.3 kB / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.137, allocations: 0 / 477 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.137, allocations: 15.98 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.137, allocations: 0 / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.137, allocations: 4 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.137, allocations: 0 / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.137, allocations: 0 / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1373, allocations: 225.8 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.1374, allocations: 89 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1374, allocations: 4.375 kB / 477.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.1375, allocations: 4 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1375, allocations: 11.92 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.1375, allocations: 12 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1377, allocations: 153 kB / 477.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 4 kB / 477.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1379, allocations: 23.94 kB / 477.6 MB, free: 7.242 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.001351/0.1393, allocations: 1.17 MB / 478.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1395, allocations: 59.91 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1395, allocations: 4.062 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.1396, allocations: 23.98 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1398, allocations: 35.05 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1409, allocations: 0.8744 MB / 479.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1412, allocations: 0.7121 MB / 480.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.1412, allocations: 21.11 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.1413, allocations: 35.42 kB / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1413, allocations: 0 / 480.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.1546, allocations: 2.951 MB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.1548, allocations: 222.7 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.895, allocations: 0 / 483.7 MB, free: 1.316 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat