Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001092/0.001092, allocations: 96.31 kB / 16.99 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.001353/0.001353, allocations: 179.1 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.41/1.41, allocations: 223.2 MB / 241.8 MB, free: 408 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.203/0.203, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001929/0.1219, allocations: 1.391 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1232, allocations: 0.7881 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1232, allocations: 3.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.1235, allocations: 31.84 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1236, allocations: 47.88 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1239, allocations: 91.7 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.124, allocations: 63.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.1241, allocations: 12.17 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.1242, allocations: 39.83 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.1243, allocations: 23.88 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1243, allocations: 0 / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.1244, allocations: 31.97 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.1244, allocations: 19.92 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1245, allocations: 37.64 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1247, allocations: 88.08 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1247, allocations: 3.938 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1247, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1247, allocations: 0 / 474.2 MB, free: 10.96 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.0005003/0.1252, allocations: 398.9 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1253, allocations: 8.031 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.1253, allocations: 38.5 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.1254, allocations: 11.91 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1257, allocations: 203.6 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1257, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1257, allocations: 7.953 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1259, allocations: 53.67 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1259, allocations: 0 / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1259, allocations: 3.984 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1259, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.126, allocations: 23.92 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.1265, allocations: 296.9 kB / 475.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1266, allocations: 50.69 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1267, allocations: 0 / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1269, allocations: 79.36 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1269, allocations: 4 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005802/0.1275, allocations: 177.1 kB / 475.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1275, allocations: 55.34 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1277, allocations: 195.3 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1278, allocations: 29.69 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.1278, allocations: 104.1 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1279, allocations: 23.7 kB / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1279, allocations: 0 / 475.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1281, allocations: 334.8 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.1281, allocations: 15.98 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1282, allocations: 37.66 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.048e-05/0.1283, allocations: 27.98 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1283, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1284, allocations: 97.52 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1285, allocations: 8.031 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1285, allocations: 4 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1285, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1286, allocations: 15.98 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1286, allocations: 0 / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1287, allocations: 11.94 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1287, allocations: 4 kB / 476.5 MB, free: 8.453 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.569e-05/0.1288, allocations: 130.2 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1288, allocations: 15.81 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.1289, allocations: 21.39 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1289, allocations: 0 / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1289, allocations: 0 / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1289, allocations: 0 / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.1295, allocations: 395.3 kB / 477 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1295, allocations: 0 / 477 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1295, allocations: 8 kB / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1295, allocations: 0 / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1296, allocations: 16.02 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1296, allocations: 0 / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1296, allocations: 0 / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1298, allocations: 217.8 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.1299, allocations: 85.02 kB / 477.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.1299, allocations: 7.984 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.13, allocations: 8 kB / 477.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1301, allocations: 7.938 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1301, allocations: 8.359 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1302, allocations: 152.8 kB / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1302, allocations: 0 / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1305, allocations: 24 kB / 477.6 MB, free: 7.27 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.001703/0.1322, allocations: 1.179 MB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.1324, allocations: 63.89 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1324, allocations: 0 / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/0.1325, allocations: 23.98 kB / 478.8 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.0002562/0.1327, allocations: 27.94 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1339, allocations: 0.8705 MB / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1343, allocations: 0.716 MB / 480.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1344, allocations: 17.12 kB / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.635e-05/0.1345, allocations: 35.42 kB / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1345, allocations: 0 / 480.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.1472, allocations: 2.956 MB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.1474, allocations: 216.8 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.947, allocations: 0 / 483.7 MB, free: 1.34 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat