Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001664/0.001664, allocations: 178.8 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.622/1.622, allocations: 221.3 MB / 236 MB, free: 2.945 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.0009563/0.0009564, allocations: 80.05 kB / 287 MB, free: 252 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.2088/0.2088, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.802e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/0.6603, allocations: 89.22 MB / 0.5889 GB, free: 20 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.6608, allocations: 71.97 kB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.6786, allocations: 5.893 MB / 0.5948 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6787, allocations: 3.938 kB / 0.5948 GB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.6787, allocations: 0 / 0.5948 GB, free: 10.07 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.0006895/0.6794, allocations: 426.1 kB / 0.5952 GB, free: 9.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.6795, allocations: 8.031 kB / 0.5952 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.6796, allocations: 38.55 kB / 0.5952 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.6796, allocations: 11.91 kB / 0.5952 GB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.6801, allocations: 234.4 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6801, allocations: 3.953 kB / 0.5955 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.6801, allocations: 7.938 kB / 0.5955 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6803, allocations: 53.67 kB / 0.5955 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6803, allocations: 4 kB / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6803, allocations: 0 / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6804, allocations: 3.938 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.624e-05/0.6804, allocations: 20 kB / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.6809, allocations: 308.8 kB / 0.5958 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.6811, allocations: 54.62 kB / 0.5959 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.6811, allocations: 28.97 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.6812, allocations: 0 / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.6813, allocations: 63.41 kB / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6813, allocations: 0 / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000534/0.6819, allocations: 165.1 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.6819, allocations: 51.41 kB / 0.5962 GB, free: 8.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.6822, allocations: 237.8 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.6823, allocations: 29.7 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.6824, allocations: 112.1 kB / 0.5965 GB, free: 8.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.6824, allocations: 27.64 kB / 0.5966 GB, free: 8.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.6824, allocations: 0 / 0.5966 GB, free: 8.008 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6826, allocations: 330.8 kB / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.6827, allocations: 16 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.6828, allocations: 45.64 kB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.6828, allocations: 20 kB / 0.597 GB, free: 7.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6828, allocations: 0 / 0.597 GB, free: 7.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.683, allocations: 105.4 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.683, allocations: 4 kB / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.683, allocations: 0 / 0.5971 GB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6831, allocations: 4 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6832, allocations: 12.19 kB / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.6832, allocations: 0 / 0.5971 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.6833, allocations: 15.92 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.6833, allocations: 8.031 kB / 0.5971 GB, free: 7.438 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 9.413e-05/0.6834, allocations: 108.9 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.6834, allocations: 15.81 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.6837, allocations: 119.1 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6837, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6837, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6837, allocations: 0 / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.6843, allocations: 439.2 kB / 0.5978 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6843, allocations: 4 kB / 0.5978 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.6844, allocations: 15.88 kB / 0.5978 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.6844, allocations: 0 / 0.5978 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.6844, allocations: 4 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6844, allocations: 0 / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6844, allocations: 3.984 kB / 0.5978 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.6847, allocations: 225.8 kB / 0.598 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.6848, allocations: 100.9 kB / 0.5981 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.6848, allocations: 3.984 kB / 0.5981 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.6849, allocations: 4 kB / 0.5981 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.685, allocations: 11.95 kB / 0.5981 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.685, allocations: 7.984 kB / 0.5981 GB, free: 6.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.6852, allocations: 196.2 kB / 0.5983 GB, free: 6.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6852, allocations: 0 / 0.5983 GB, free: 6.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.6856, allocations: 39.94 kB / 0.5983 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.001624/0.6872, allocations: 1.142 MB / 0.5995 GB, free: 4.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.6874, allocations: 63.92 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6874, allocations: 0 / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.99e-05/0.6875, allocations: 35.88 kB / 0.5996 GB, free: 4.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.6878, allocations: 35.64 kB / 0.5996 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.6885, allocations: 281.2 kB / 0.5999 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.689, allocations: 0.7316 MB / 0.6006 GB, free: 3.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.007e-05/0.6891, allocations: 16.42 kB / 0.6006 GB, free: 3.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.6892, allocations: 43.41 kB / 0.6006 GB, free: 3.73 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6892, allocations: 0 / 0.6006 GB, free: 3.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.7072, allocations: 3.443 MB / 0.604 GB, free: 384 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.7075, allocations: 192.1 kB / 0.6042 GB, free: 148 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.478, allocations: 0 / 0.6042 GB, free: 148 kB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat