Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001083/0.001083, allocations: 95.06 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.001015/0.001015, allocations: 186.4 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.412/1.412, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2143/0.2143, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002359/0.1221, allocations: 1.387 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.1239, allocations: 1.367 MB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.124, allocations: 3.938 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1243, allocations: 27.91 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1245, allocations: 51.81 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1248, allocations: 87.77 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1249, allocations: 63.86 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1251, allocations: 12.22 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.1252, allocations: 35.84 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1253, allocations: 23.86 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1253, allocations: 4 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1254, allocations: 47.84 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/0.1255, allocations: 11.98 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1255, allocations: 37.64 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1257, allocations: 92.08 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1257, allocations: 4 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1257, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1258, allocations: 0 / 474.8 MB, free: 10.35 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.0005461/0.1263, allocations: 391 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1264, allocations: 12.03 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.1264, allocations: 30.56 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1264, allocations: 7.906 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1267, allocations: 206.9 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1267, allocations: 7.953 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1267, allocations: 4 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1269, allocations: 71.36 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1269, allocations: 7.906 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1269, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1269, allocations: 4 kB / 475.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.127, allocations: 19.98 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.1274, allocations: 284.8 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1275, allocations: 54.69 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1276, allocations: 0 / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.1277, allocations: 75.44 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1277, allocations: 4 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004957/0.1282, allocations: 161.3 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1283, allocations: 85.05 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1284, allocations: 156 kB / 476.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1285, allocations: 33.58 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.1285, allocations: 96.12 kB / 476.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.1285, allocations: 27.64 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1286, allocations: 4 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1287, allocations: 326.8 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1287, allocations: 19.98 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.1288, allocations: 38.56 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.117e-05/0.1289, allocations: 28.06 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1289, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001617/0.129, allocations: 97.52 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1291, allocations: 12.06 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1291, allocations: 0 / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1291, allocations: 0 / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.1292, allocations: 12 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1292, allocations: 4 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.1292, allocations: 11.89 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1293, allocations: 11.89 kB / 477 MB, free: 7.844 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 8.699e-05/0.1293, allocations: 118.4 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1294, allocations: 7.906 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.1294, allocations: 20.7 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1294, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1294, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1294, allocations: 0 / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1299, allocations: 391.3 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1299, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1299, allocations: 8 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1299, allocations: 0 / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1299, allocations: 12.39 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1299, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.13, allocations: 3.953 kB / 477.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1302, allocations: 214 kB / 477.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1302, allocations: 93 kB / 477.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1303, allocations: 0 / 477.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.1303, allocations: 11.95 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1304, allocations: 11.98 kB / 477.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1304, allocations: 4 kB / 477.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.186e-05/0.1305, allocations: 122.1 kB / 478 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1305, allocations: 0 / 478 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1308, allocations: 31.94 kB / 478.1 MB, free: 6.703 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.001468/0.1323, allocations: 1.214 MB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.1324, allocations: 59.86 kB / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1325, allocations: 0 / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.1325, allocations: 27.98 kB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1328, allocations: 28.09 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1338, allocations: 0.7782 MB / 480.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1341, allocations: 0.6975 MB / 480.9 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.1341, allocations: 21.33 kB / 480.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.1342, allocations: 35.42 kB / 480.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1342, allocations: 0 / 480.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.149, allocations: 3.052 MB / 484 MB, free: 1.012 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/0.1493, allocations: 214.8 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.922, allocations: 0 / 484.2 MB, free: 0.7773 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat