Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001365/0.001365, allocations: 181.6 kB / 14.15 MB, free: 1.164 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.459/1.459, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009794/0.0009796, allocations: 95.53 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.285/0.285, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.388e-05/5.407e-05, allocations: 4 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.169, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6637, allocations: 89.18 MB / 0.5889 GB, free: 92 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6639, allocations: 75.95 kB / 0.589 GB, free: 16 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.6804, allocations: 5.459 MB / 0.5943 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6805, allocations: 0 / 0.5943 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.6805, allocations: 4 kB / 0.5943 GB, free: 10.56 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.0006258/0.6811, allocations: 398.2 kB / 0.5947 GB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.6812, allocations: 8.031 kB / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.6813, allocations: 38.48 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.6814, allocations: 11.91 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.6819, allocations: 206.8 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.6819, allocations: 11.94 kB / 0.595 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.682, allocations: 0 / 0.595 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.6822, allocations: 57.62 kB / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6822, allocations: 0 / 0.595 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6822, allocations: 3.938 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6823, allocations: 0 / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.6824, allocations: 23.98 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.683, allocations: 288.9 kB / 0.5953 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.6832, allocations: 62.62 kB / 0.5954 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.6832, allocations: 20.97 kB / 0.5954 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6833, allocations: 4 kB / 0.5954 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.6835, allocations: 59.41 kB / 0.5954 GB, free: 9.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.6835, allocations: 0 / 0.5954 GB, free: 9.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007028/0.6842, allocations: 165.1 kB / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.6843, allocations: 51.41 kB / 0.5957 GB, free: 8.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.6846, allocations: 169.4 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.6846, allocations: 25.7 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.6847, allocations: 100.1 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.6848, allocations: 23.7 kB / 0.596 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.6848, allocations: 4 kB / 0.596 GB, free: 8.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.685, allocations: 326.8 kB / 0.5963 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.592e-05/0.6851, allocations: 16 kB / 0.5963 GB, free: 8.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.6852, allocations: 41.66 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.6853, allocations: 24.06 kB / 0.5964 GB, free: 8.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6853, allocations: 0 / 0.5964 GB, free: 8.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000276/0.6856, allocations: 105.4 kB / 0.5965 GB, free: 8.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.6856, allocations: 8 kB / 0.5965 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6856, allocations: 0 / 0.5965 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.6857, allocations: 0 / 0.5965 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.6858, allocations: 16.02 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.6859, allocations: 8 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-05/0.686, allocations: 7.938 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.686, allocations: 4.188 kB / 0.5965 GB, free: 8.09 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 0.0001287/0.6861, allocations: 121.1 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.6862, allocations: 7.906 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.6865, allocations: 114.2 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.6866, allocations: 7.984 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6866, allocations: 4 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.6866, allocations: 4 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.6873, allocations: 403.2 kB / 0.5971 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6873, allocations: 7.938 kB / 0.5971 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.6874, allocations: 11.94 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6874, allocations: 0 / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.6874, allocations: 4 kB / 0.5972 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6874, allocations: 4 kB / 0.5972 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6874, allocations: 0 / 0.5972 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.6878, allocations: 225.9 kB / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.6879, allocations: 92.91 kB / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.6879, allocations: 4 kB / 0.5975 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.688, allocations: 7.984 kB / 0.5975 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.6881, allocations: 7.953 kB / 0.5975 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.6881, allocations: 8 kB / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.6883, allocations: 144.9 kB / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6884, allocations: 4 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.6889, allocations: 28 kB / 0.5977 GB, free: 6.793 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.002095/0.691, allocations: 1.132 MB / 0.5988 GB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.6912, allocations: 59.94 kB / 0.5988 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6912, allocations: 4 kB / 0.5988 GB, free: 5.684 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.053e-05/0.6913, allocations: 40.08 kB / 0.5989 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.6918, allocations: 28.08 kB / 0.5989 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.6926, allocations: 212.5 kB / 0.5991 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.693, allocations: 0.716 MB / 0.5998 GB, free: 4.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.134e-05/0.6931, allocations: 20.47 kB / 0.5998 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.6932, allocations: 35.42 kB / 0.5998 GB, free: 4.566 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6933, allocations: 0 / 0.5998 GB, free: 4.566 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.7134, allocations: 2.997 MB / 0.6028 GB, free: 1.656 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/0.7138, allocations: 198.5 kB / 0.603 GB, free: 1.422 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.47, allocations: 0 / 0.603 GB, free: 1.422 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat