Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001202/0.001202, allocations: 95.3 kB / 16.98 MB, free: 5.938 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.001482/0.001482, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.379/1.379, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2032/0.2032, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002545/0.1207, allocations: 1.579 MB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.1225, allocations: 0.8348 MB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1226, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1229, allocations: 35.77 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1231, allocations: 43.89 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.1234, allocations: 111.6 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1236, allocations: 87.83 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1237, allocations: 17.48 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1238, allocations: 51.78 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.1239, allocations: 43.7 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.124, allocations: 4 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.1241, allocations: 31.92 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.1241, allocations: 19.92 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.1242, allocations: 45.64 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1244, allocations: 104 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1244, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1244, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.1244, allocations: 0 / 474.5 MB, free: 10.61 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007278/0.1251, allocations: 460.4 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.1252, allocations: 12.03 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1252, allocations: 42.5 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1253, allocations: 15.81 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1256, allocations: 218.8 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1256, allocations: 8 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1256, allocations: 7.953 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.1259, allocations: 116.2 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1259, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1259, allocations: 3.984 kB / 475.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1259, allocations: 4 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1261, allocations: 47.97 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.1267, allocations: 0.5126 MB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.127, allocations: 94.61 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.127, allocations: 0 / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.1272, allocations: 83.31 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.1272, allocations: 0 / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004857/0.1277, allocations: 145.5 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1278, allocations: 59.39 kB / 476.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.128, allocations: 187.4 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.128, allocations: 33.7 kB / 476.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.1281, allocations: 108 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.1282, allocations: 27.64 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.1282, allocations: 4 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1283, allocations: 338.7 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.1284, allocations: 32.11 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1285, allocations: 63.39 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.1286, allocations: 39.94 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1286, allocations: 4 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.1289, allocations: 137.3 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1289, allocations: 10.19 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1289, allocations: 0 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.129, allocations: 8.125 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.1291, allocations: 24.39 kB / 477.3 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.1291, allocations: 4 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.1291, allocations: 15.83 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1292, allocations: 12 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.0001061/0.1293, allocations: 126.3 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.1293, allocations: 15.75 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.1294, allocations: 25.39 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1294, allocations: 4 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1294, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1294, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1296, allocations: 213.7 kB / 477.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1296, allocations: 0 / 477.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.611e-05/0.1297, allocations: 15.98 kB / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1297, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1297, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1297, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1297, allocations: 0 / 477.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1302, allocations: 192.8 kB / 477.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.1303, allocations: 96.97 kB / 478 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1303, allocations: 4 kB / 478 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1304, allocations: 20.05 kB / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.1304, allocations: 0 / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1305, allocations: 11.98 kB / 478.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1306, allocations: 133.2 kB / 478.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1306, allocations: 0 / 478.2 MB, free: 6.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1308, allocations: 31.89 kB / 478.2 MB, free: 6.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001571/0.1324, allocations: 1.027 MB / 479.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003392/0.1327, allocations: 83.89 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1328, allocations: 4.25 kB / 479.3 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.1329, allocations: 40.11 kB / 479.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1331, allocations: 36.27 kB / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1349, allocations: 1.441 MB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.1354, allocations: 0.7239 MB / 481.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.965e-05/0.1355, allocations: 17.42 kB / 481.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.1356, allocations: 39.42 kB / 481.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1356, allocations: 0 / 481.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.1519, allocations: 3.247 MB / 484.9 MB, free: 64 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.1522, allocations: 216.8 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.877, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat