Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001475/0.001475, 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.549/1.549, allocations: 221.3 MB / 236 MB, free: 2.973 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.000999/0.000999, allocations: 101.9 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.2093/0.2093, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.833e-05/5.863e-05, allocations: 7.938 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 61.91 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6881, allocations: 89.03 MB / 0.5887 GB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.6885, allocations: 71.97 kB / 0.5888 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.705, allocations: 5.414 MB / 0.5941 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.705, allocations: 0 / 0.5941 GB, free: 10.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.7051, allocations: 0 / 0.5941 GB, free: 10.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006082/0.7057, allocations: 398.2 kB / 0.5945 GB, free: 10.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.7057, allocations: 8.031 kB / 0.5945 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.7058, allocations: 34.55 kB / 0.5945 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.7059, allocations: 7.906 kB / 0.5945 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.7062, allocations: 210.8 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7063, allocations: 0 / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.7063, allocations: 7.953 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.7064, allocations: 45.67 kB / 0.5948 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7064, allocations: 0 / 0.5948 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7065, allocations: 4 kB / 0.5948 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7065, allocations: 3.938 kB / 0.5948 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.904e-05/0.7066, allocations: 15.94 kB / 0.5948 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.7068, allocations: 185.6 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.707, allocations: 54.62 kB / 0.595 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.707, allocations: 16.86 kB / 0.5951 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.707, allocations: 7.953 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.7072, allocations: 71.45 kB / 0.5951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.7072, allocations: 0 / 0.5951 GB, free: 9.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002326/0.7075, allocations: 73.59 kB / 0.5952 GB, free: 9.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.7075, allocations: 59.41 kB / 0.5953 GB, free: 9.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.7077, allocations: 165.4 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.7078, allocations: 25.7 kB / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.7078, allocations: 100.1 kB / 0.5955 GB, free: 9.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.7079, allocations: 23.72 kB / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.7079, allocations: 0 / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.708, allocations: 322.8 kB / 0.5959 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.7081, allocations: 16 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.7082, allocations: 29.72 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.7082, allocations: 19.92 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7082, allocations: 0 / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.7083, allocations: 77.66 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.7084, allocations: 13.36 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7084, allocations: 0 / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7084, allocations: 0 / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.7085, allocations: 15.97 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7085, allocations: 0 / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.7086, allocations: 7.984 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7086, allocations: 4 kB / 0.596 GB, free: 8.555 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 (7): * Single equations (assignments): 7 * 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.363e-05/0.7087, allocations: 105 kB / 0.5961 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.7087, allocations: 15.81 kB / 0.5962 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.7089, allocations: 89.72 kB / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.7089, allocations: 0 / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7089, allocations: 7.938 kB / 0.5962 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.7089, allocations: 3.984 kB / 0.5963 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.7091, allocations: 185.6 kB / 0.5964 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7091, allocations: 3.984 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.7091, allocations: 4 kB / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.7092, allocations: 0 / 0.5964 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7092, allocations: 3.938 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7092, allocations: 3.953 kB / 0.5964 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7092, allocations: 0 / 0.5964 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.7094, allocations: 117 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.7095, allocations: 100.8 kB / 0.5967 GB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.7095, allocations: 7.984 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.407e-05/0.7096, allocations: 4 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.7096, allocations: 3.953 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.7096, allocations: 4.188 kB / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.7098, allocations: 148.9 kB / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7098, allocations: 0 / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002034/0.71, allocations: 20 kB / 0.5968 GB, free: 7.641 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001331/0.7113, allocations: 0.9154 MB / 0.5977 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.7115, allocations: 43.92 kB / 0.5978 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7115, allocations: 3.938 kB / 0.5978 GB, free: 6.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.7115, allocations: 20 kB / 0.5978 GB, free: 6.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7118, allocations: 28 kB / 0.5978 GB, free: 6.715 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.7124, allocations: 203 kB / 0.598 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.7127, allocations: 0.7043 MB / 0.5987 GB, free: 5.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.7127, allocations: 16.42 kB / 0.5987 GB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.7128, allocations: 31.42 kB / 0.5987 GB, free: 5.703 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7128, allocations: 0 / 0.5987 GB, free: 5.703 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.727, allocations: 2.709 MB / 0.6014 GB, free: 3.082 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7273, allocations: 184.1 kB / 0.6016 GB, free: 2.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.477, allocations: 0 / 0.6016 GB, free: 2.859 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat