Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.0008683/0.0008683, allocations: 94.69 kB / 16.99 MB, free: 5.941 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.0008803/0.0008805, allocations: 181.8 kB / 17.87 MB, free: 5.609 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.329/1.329, allocations: 223.2 MB / 241.8 MB, free: 396 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.2116/0.2116, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003108, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1252, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.001953/0.1272, allocations: 1.383 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1284, allocations: 0.7998 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.1285, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1287, allocations: 27.78 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.1289, allocations: 51.86 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1292, allocations: 95.2 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1294, allocations: 67.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1295, allocations: 12.23 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.1296, allocations: 39.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1297, allocations: 27.84 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.1297, allocations: 0 / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.1298, allocations: 24 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1298, allocations: 31.89 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.1299, allocations: 41.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.13, allocations: 100 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1301, allocations: 0 / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1301, allocations: 7.938 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1301, allocations: 0 / 474.2 MB, free: 10.94 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.0005113/0.1306, allocations: 418.7 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1306, allocations: 8.031 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1307, allocations: 38.56 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.1307, allocations: 11.91 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1309, allocations: 206.8 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.131, allocations: 4 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.131, allocations: 11.95 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1311, allocations: 57.61 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1312, allocations: 0 / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.1312, allocations: 3.984 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1312, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.1313, allocations: 19.98 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1316, allocations: 296.9 kB / 475.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1318, allocations: 58.62 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1318, allocations: 3.984 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.132, allocations: 71.42 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.132, allocations: 0 / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004981/0.1325, allocations: 181 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1326, allocations: 63.39 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1328, allocations: 262.2 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1328, allocations: 29.7 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.1329, allocations: 108.1 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1329, allocations: 19.72 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1329, allocations: 4 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1331, allocations: 334.8 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.1331, allocations: 16 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.1332, allocations: 45.64 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.612e-05/0.1333, allocations: 23.98 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1333, allocations: 0 / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.1335, allocations: 101.5 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1335, allocations: 8 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1335, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1336, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1337, allocations: 19.92 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1337, allocations: 8.031 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.1337, allocations: 3.938 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1337, allocations: 4 kB / 476.6 MB, free: 8.312 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.0001165/0.1339, allocations: 141.4 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.1339, allocations: 15.81 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.1339, allocations: 21.39 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.134, allocations: 4 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.134, allocations: 0 / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.134, allocations: 4 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.1344, allocations: 407.8 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1344, allocations: 0 / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.1345, allocations: 12 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1345, allocations: 3.938 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1345, allocations: 4 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1345, allocations: 0 / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1345, allocations: 0 / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.1347, allocations: 221.9 kB / 477.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.1348, allocations: 92.92 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.1348, allocations: 4 kB / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1349, allocations: 192 / 477.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1349, allocations: 11.98 kB / 477.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1349, allocations: 15.88 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1351, allocations: 200.4 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1351, allocations: 0 / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1354, allocations: 24 kB / 477.8 MB, free: 7.047 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.001438/0.1368, allocations: 1.173 MB / 479 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.137, allocations: 55.92 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.137, allocations: 4.062 kB / 479 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.1371, allocations: 31.92 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.1374, allocations: 23.94 kB / 479.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1387, allocations: 1.002 MB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1391, allocations: 0.7238 MB / 480.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.828e-05/0.1391, allocations: 21.16 kB / 480.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1392, allocations: 39.42 kB / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1392, allocations: 0 / 480.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.1538, allocations: 3.224 MB / 484.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.154, allocations: 211.7 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/1.999, allocations: 0 / 484.3 MB, free: 0.6992 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat