Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001264/0.001264, allocations: 93.98 kB / 16.98 MB, free: 6.398 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.001501/0.001502, allocations: 183.8 kB / 17.87 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.432/1.432, 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.2222/0.2222, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001875/0.1213, allocations: 1.461 MB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1226, allocations: 0.8738 MB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.1227, allocations: 4 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.1232, allocations: 287.4 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1235, allocations: 199.5 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1239, allocations: 142.6 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1241, allocations: 163.6 kB / 474.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.463e-05/0.1242, allocations: 13.55 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1243, allocations: 111.6 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1245, allocations: 143.6 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1246, allocations: 7.938 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.1247, allocations: 27.94 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1248, allocations: 139.6 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.1249, allocations: 77.5 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.1251, allocations: 271.8 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1251, allocations: 0 / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1251, allocations: 4 kB / 475.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1252, allocations: 0 / 475.4 MB, free: 9.719 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007811/0.1259, allocations: 0.6765 MB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.126, allocations: 11.97 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.126, allocations: 34.56 kB / 476.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1261, allocations: 47.34 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.1267, allocations: 427.1 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1267, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1267, allocations: 11.95 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.1269, allocations: 87.34 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1269, allocations: 4 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.127, allocations: 0 / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.127, allocations: 0 / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1271, allocations: 27.92 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1275, allocations: 378.4 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1277, allocations: 109.3 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.1278, allocations: 0 / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.128, allocations: 109.1 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.128, allocations: 0 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005/0.1285, allocations: 196.9 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.1286, allocations: 85.09 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1296, allocations: 1.03 MB / 478.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1296, allocations: 29.7 kB / 478.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1298, allocations: 232.1 kB / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1298, allocations: 23.66 kB / 478.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1299, allocations: 7.938 kB / 478.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.13, allocations: 370.8 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.1301, allocations: 31.97 kB / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.1302, allocations: 51.42 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.742e-05/0.1303, allocations: 35.98 kB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1303, allocations: 3.938 kB / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002752/0.1306, allocations: 165.5 kB / 479.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1306, allocations: 7.953 kB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1306, allocations: 0 / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1307, allocations: 4 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1308, allocations: 31.98 kB / 479.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1308, allocations: 4 kB / 479.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1309, allocations: 11.89 kB / 479.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1309, allocations: 4 kB / 479.6 MB, free: 5.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002137/0.1312, allocations: 238.2 kB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.1312, allocations: 51.42 kB / 479.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.1313, allocations: 59.95 kB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1313, allocations: 4 kB / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1313, allocations: 0 / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1313, allocations: 0 / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.1316, allocations: 345.3 kB / 480.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1316, allocations: 0 / 480.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.1317, allocations: 8 kB / 480.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1317, allocations: 0 / 480.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1317, allocations: 4 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1317, allocations: 7.953 kB / 480.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1317, allocations: 0 / 480.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1321, allocations: 207 kB / 480.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.1323, allocations: 144.4 kB / 480.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.1323, allocations: 7.953 kB / 480.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.1324, allocations: 11.98 kB / 480.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.1325, allocations: 11.98 kB / 480.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1325, allocations: 4 kB / 480.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000869/0.1334, allocations: 0.7682 MB / 481.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1334, allocations: 0 / 481.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1338, allocations: 40 kB / 481.5 MB, free: 3.254 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001586/0.1354, allocations: 1.14 MB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1356, allocations: 75.91 kB / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1356, allocations: 0 / 482.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1357, allocations: 48.09 kB / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1362, allocations: 56.31 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.1405, allocations: 3.269 MB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.1409, allocations: 0.8546 MB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.141, allocations: 67.38 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.1412, allocations: 147.4 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1412, allocations: 0 / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1585, allocations: 8.018 MB / 495.2 MB, free: 5.754 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.1587, allocations: 220.2 kB / 495.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.001, allocations: 0 / 495.4 MB, free: 5.512 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat