Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.002136/0.002136, allocations: 180.1 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.53/1.53, allocations: 221.3 MB / 236 MB, free: 2.98 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.0009689/0.0009689, allocations: 95.98 kB / 287 MB, free: 256 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.2116/0.2116, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.348e-05, allocations: 4 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1697, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6535, allocations: 89.44 MB / 0.5892 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6539, allocations: 75.95 kB / 0.5892 GB, free: 15.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.671, allocations: 5.978 MB / 0.5951 GB, free: 9.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6711, allocations: 0 / 0.5951 GB, free: 9.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.6711, allocations: 4 kB / 0.5951 GB, free: 9.789 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.000564/0.6717, allocations: 394.2 kB / 0.5954 GB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6717, allocations: 8.031 kB / 0.5955 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.6718, allocations: 34.55 kB / 0.5955 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.6718, allocations: 7.906 kB / 0.5955 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.6722, allocations: 220.8 kB / 0.5957 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.6722, allocations: 0 / 0.5957 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.6722, allocations: 4 kB / 0.5957 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.6724, allocations: 79.27 kB / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6724, allocations: 0 / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6724, allocations: 0 / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6724, allocations: 4 kB / 0.5958 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.93e-05/0.6725, allocations: 16 kB / 0.5958 GB, free: 8.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.6729, allocations: 284.9 kB / 0.5961 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.6731, allocations: 66.61 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.6731, allocations: 16.98 kB / 0.5962 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6732, allocations: 0 / 0.5962 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.6733, allocations: 67.39 kB / 0.5962 GB, free: 8.434 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.6733, allocations: 0 / 0.5962 GB, free: 8.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.6738, allocations: 149.2 kB / 0.5964 GB, free: 8.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.6739, allocations: 85.11 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6741, allocations: 150.9 kB / 0.5966 GB, free: 8.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6741, allocations: 25.7 kB / 0.5966 GB, free: 7.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.6742, allocations: 92.14 kB / 0.5967 GB, free: 7.902 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.6742, allocations: 31.62 kB / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6742, allocations: 0 / 0.5967 GB, free: 7.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6743, allocations: 322.8 kB / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.6744, allocations: 20 kB / 0.5971 GB, free: 7.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.6744, allocations: 46.52 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.6745, allocations: 23.98 kB / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6745, allocations: 0 / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001426/0.6747, allocations: 89.59 kB / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6747, allocations: 4 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.6747, allocations: 4 kB / 0.5972 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6747, allocations: 7.922 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.6748, allocations: 16.06 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6748, allocations: 3.953 kB / 0.5972 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.6749, allocations: 8.188 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.6749, allocations: 4 kB / 0.5973 GB, free: 7.309 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.832e-05/0.675, allocations: 110.5 kB / 0.5974 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.675, allocations: 15.91 kB / 0.5974 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.6752, allocations: 114.3 kB / 0.5975 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.6753, allocations: 4 kB / 0.5975 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6753, allocations: 4 kB / 0.5975 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6753, allocations: 7.891 kB / 0.5975 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.6757, allocations: 399.2 kB / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6758, allocations: 0 / 0.5979 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.6758, allocations: 8 kB / 0.5979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6758, allocations: 7.938 kB / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.6758, allocations: 0 / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6758, allocations: 3.953 kB / 0.5979 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6759, allocations: 4 kB / 0.5979 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.6761, allocations: 214 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.6761, allocations: 93 kB / 0.5982 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.6762, allocations: 7.953 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.6763, allocations: 3.984 kB / 0.5982 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.6763, allocations: 4 kB / 0.5982 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.6763, allocations: 12 kB / 0.5982 GB, free: 6.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.6764, allocations: 117.3 kB / 0.5983 GB, free: 6.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6764, allocations: 0 / 0.5983 GB, free: 6.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.6767, allocations: 43.92 kB / 0.5984 GB, free: 6.047 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.001504/0.6782, allocations: 1.186 MB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.6784, allocations: 59.94 kB / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6784, allocations: 0 / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.6785, allocations: 27.94 kB / 0.5996 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.6787, allocations: 33.62 kB / 0.5996 GB, free: 4.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.6793, allocations: 201 kB / 0.5998 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.6796, allocations: 0.7004 MB / 0.6005 GB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.862e-05/0.6797, allocations: 20.78 kB / 0.6005 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.6798, allocations: 39.36 kB / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6798, allocations: 0 / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.6949, allocations: 3.079 MB / 0.6036 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.6952, allocations: 194.2 kB / 0.6038 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.381, allocations: 0 / 0.6038 GB, free: 0.5938 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat