Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009275, allocations: 97.91 kB / 287 MB, free: 192 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.17 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.456e-05, allocations: 4 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4696/0.6366, allocations: 89.16 MB / 0.5889 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.6369, allocations: 76.92 kB / 0.589 GB, free: 16 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.6528, allocations: 5.373 MB / 0.5942 GB, free: 10.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6528, allocations: 0 / 0.5942 GB, free: 10.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.6528, allocations: 7.938 kB / 0.5942 GB, free: 10.64 MB / 410.7 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.0004647/0.6533, allocations: 390.3 kB / 0.5946 GB, free: 10.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6534, allocations: 16.03 kB / 0.5946 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.6534, allocations: 34.55 kB / 0.5946 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.6535, allocations: 11.91 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.6538, allocations: 203.4 kB / 0.5948 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.6538, allocations: 11.94 kB / 0.5949 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.6538, allocations: 4 kB / 0.5949 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.654, allocations: 45.69 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.654, allocations: 3.938 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6541, allocations: 8 kB / 0.5949 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.6541, allocations: 0 / 0.5949 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.833e-05/0.6541, allocations: 23.98 kB / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.6545, allocations: 296.7 kB / 0.5952 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.6546, allocations: 50.69 kB / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.6547, allocations: 20.98 kB / 0.5953 GB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.6547, allocations: 4 kB / 0.5953 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.6549, allocations: 67.39 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.6549, allocations: 3.938 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00046/0.6553, allocations: 149.3 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.6554, allocations: 51.41 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.6556, allocations: 145.5 kB / 0.5957 GB, free: 8.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.6556, allocations: 37.69 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.6556, allocations: 92.14 kB / 0.5958 GB, free: 8.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.6557, allocations: 31.64 kB / 0.5958 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.6557, allocations: 0 / 0.5958 GB, free: 8.758 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6558, allocations: 326.8 kB / 0.5962 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.6559, allocations: 16 kB / 0.5962 GB, free: 8.414 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.867e-05/0.6559, allocations: 33.72 kB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.656, allocations: 23.98 kB / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.656, allocations: 192 / 0.5962 GB, free: 8.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.6562, allocations: 105.4 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6562, allocations: 11.94 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6562, allocations: 0 / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6562, allocations: 0 / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.6563, allocations: 15.98 kB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6563, allocations: 4 kB / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.6564, allocations: 0 / 0.5964 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.6564, allocations: 8 kB / 0.5964 GB, free: 8.203 MB / 410.7 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 () * 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 7.472e-05/0.6565, allocations: 114.4 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.6565, allocations: 15.92 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.6567, allocations: 118.2 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6568, allocations: 3.984 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6568, allocations: 0 / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6568, allocations: 3.984 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.6572, allocations: 403.6 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6572, allocations: 4 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.6573, allocations: 12.03 kB / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6573, allocations: 0 / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.6573, allocations: 7.984 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6573, allocations: 0 / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6573, allocations: 80 / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.6576, allocations: 225.8 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.6576, allocations: 89.02 kB / 0.5973 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.6577, allocations: 11.98 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.6577, allocations: 0 / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.6578, allocations: 11.94 kB / 0.5973 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6578, allocations: 4 kB / 0.5973 GB, free: 7.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.6579, allocations: 123.8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6579, allocations: 0 / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000262/0.6582, allocations: 28 kB / 0.5975 GB, free: 6.941 MB / 410.7 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) * 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.00138/0.6596, allocations: 1.13 MB / 0.5986 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.6597, allocations: 55.94 kB / 0.5986 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6597, allocations: 3.938 kB / 0.5986 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.6598, allocations: 28 kB / 0.5987 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6601, allocations: 35.86 kB / 0.5987 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.6606, allocations: 212.9 kB / 0.5989 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.6609, allocations: 0.7043 MB / 0.5996 GB, free: 4.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.661, allocations: 8.875 kB / 0.5996 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.661, allocations: 31.42 kB / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6611, allocations: 0 / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.6749, allocations: 2.844 MB / 0.6024 GB, free: 2.004 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.6752, allocations: 186.9 kB / 0.6026 GB, free: 1.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.342, allocations: 0 / 0.6026 GB, free: 1.777 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat