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.000763/0.0007629, allocations: 95.94 kB / 17 MB, free: 6.418 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.0007972/0.0007973, allocations: 189.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.398/1.398, allocations: 223.2 MB / 241.9 MB, free: 360 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.2166/0.2166, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 16 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.001992/0.124, allocations: 1.394 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1254, allocations: 0.792 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1255, allocations: 7.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1258, allocations: 31.89 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.126, allocations: 47.81 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1263, allocations: 91.81 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1265, allocations: 83.64 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.1266, allocations: 20.22 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.1266, allocations: 43.72 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.1267, allocations: 31.84 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1268, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.1268, allocations: 35.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1269, allocations: 15.92 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.127, allocations: 41.64 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1271, allocations: 84.09 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1271, allocations: 4 kB / 474.4 MB, free: 10.88 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.0005354/0.1277, allocations: 402.8 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1277, allocations: 12.03 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.1278, allocations: 30.56 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1278, allocations: 7.906 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.128, allocations: 211.5 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1281, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.1281, allocations: 7.953 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.1282, allocations: 57.67 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1282, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1283, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1283, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.1283, allocations: 19.92 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1287, allocations: 292.9 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1288, allocations: 54.67 kB / 475.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1289, allocations: 20.86 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1289, allocations: 4 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1291, allocations: 75.22 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1291, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005236/0.1296, allocations: 173.2 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1297, allocations: 55.41 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1299, allocations: 203.3 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1299, allocations: 29.7 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.13, allocations: 96.14 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.13, allocations: 27.69 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.1301, allocations: 0 / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1302, allocations: 330.8 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.218e-05/0.1302, allocations: 19.98 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.1303, allocations: 41.64 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.1304, allocations: 24 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1304, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.1305, allocations: 97.53 kB / 476.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1306, allocations: 4 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1306, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1306, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.1307, allocations: 27.95 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1307, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.1307, allocations: 8 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1308, allocations: 0 / 476.7 MB, free: 8.344 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.0001126/0.1309, allocations: 138.2 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.1309, allocations: 15.81 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.131, allocations: 21.39 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.131, allocations: 0 / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.131, allocations: 0 / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.131, allocations: 4 kB / 476.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.1314, allocations: 395.3 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1314, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.1315, allocations: 8 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1315, allocations: 3.984 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1315, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1315, allocations: 4.234 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1315, allocations: 0 / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1317, allocations: 220.1 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.1318, allocations: 85.02 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1318, allocations: 4.359 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.1319, allocations: 8 kB / 477.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1319, allocations: 4 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.132, allocations: 7.984 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1321, allocations: 156.9 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1321, allocations: 0 / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1324, allocations: 24 kB / 477.7 MB, free: 7.164 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.001557/0.1339, allocations: 1.099 MB / 478.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1341, allocations: 55.91 kB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1341, allocations: 4 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.1342, allocations: 32.05 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1346, allocations: 27.73 kB / 479 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1359, allocations: 0.7234 MB / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1363, allocations: 0.7082 MB / 480.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1363, allocations: 17.19 kB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1364, allocations: 35.42 kB / 480.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1364, allocations: 3.938 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1506, allocations: 2.974 MB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.1508, allocations: 221.2 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/1.993, allocations: 0 / 483.6 MB, free: 1.461 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