Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001421/0.001421, 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.478/1.478, allocations: 221.4 MB / 236 MB, free: 2.922 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.0008873/0.0008874, allocations: 87.56 kB / 287 MB, free: 240 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.2204/0.2204, allocations: 44.14 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.8e-05/4.828e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1648, allocations: 61.93 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5964/0.7613, allocations: 89.21 MB / 0.5889 GB, free: 0 / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.7617, allocations: 79.94 kB / 0.589 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01791/0.7797, allocations: 5.526 MB / 0.5944 GB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7797, allocations: 0 / 0.5944 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.7798, allocations: 0 / 0.5944 GB, free: 10.41 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.0006319/0.7804, allocations: 398.2 kB / 0.5948 GB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.7805, allocations: 12.03 kB / 0.5948 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.7805, allocations: 38.56 kB / 0.5948 GB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.7806, allocations: 11.89 kB / 0.5948 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.7811, allocations: 205.9 kB / 0.595 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7811, allocations: 7.953 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.7811, allocations: 7.891 kB / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.7813, allocations: 53.69 kB / 0.5951 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.7813, allocations: 3.938 kB / 0.5951 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.7814, allocations: 0 / 0.5951 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.7814, allocations: 4 kB / 0.5951 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.076e-05/0.7814, allocations: 23.92 kB / 0.5951 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.782, allocations: 284.9 kB / 0.5954 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.7822, allocations: 58.67 kB / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.7822, allocations: 20.92 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.7822, allocations: 4 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.7824, allocations: 71.39 kB / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.7824, allocations: 0 / 0.5956 GB, free: 9.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005141/0.7829, allocations: 165.2 kB / 0.5957 GB, free: 8.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.783, allocations: 51.41 kB / 0.5958 GB, free: 8.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.7832, allocations: 157.4 kB / 0.5959 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.7832, allocations: 25.7 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.7833, allocations: 104.1 kB / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.7834, allocations: 23.66 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.7834, allocations: 0 / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7836, allocations: 326.8 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.7836, allocations: 20 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.7837, allocations: 37.7 kB / 0.5964 GB, free: 8.117 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.7837, allocations: 16 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7837, allocations: 4 kB / 0.5964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001611/0.7839, allocations: 101.5 kB / 0.5965 GB, free: 7.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.7839, allocations: 5.25 kB / 0.5965 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7839, allocations: 0 / 0.5965 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.784, allocations: 4 kB / 0.5965 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7841, allocations: 15.94 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7841, allocations: 0 / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.7842, allocations: 7.984 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.7842, allocations: 4 kB / 0.5966 GB, free: 7.957 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.076e-05/0.7843, allocations: 114.5 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.7843, allocations: 11.91 kB / 0.5967 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.7846, allocations: 122.2 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.7846, allocations: 4 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.7846, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.7846, allocations: 0 / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.7851, allocations: 407.2 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7852, allocations: 0 / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.7852, allocations: 16.03 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7852, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.7852, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7853, allocations: 4 kB / 0.5972 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7853, allocations: 3.984 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.7855, allocations: 213.9 kB / 0.5974 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.7856, allocations: 96.92 kB / 0.5975 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.7856, allocations: 4 kB / 0.5975 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.7857, allocations: 7.984 kB / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.7857, allocations: 11.89 kB / 0.5975 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.7857, allocations: 4 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.7859, allocations: 134.5 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7859, allocations: 0 / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.7862, allocations: 35.94 kB / 0.5977 GB, free: 6.684 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.001602/0.7878, allocations: 1.135 MB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.7879, allocations: 67.86 kB / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.788, allocations: 0 / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.44e-05/0.788, allocations: 27.94 kB / 0.5989 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.7883, allocations: 35.86 kB / 0.5989 GB, free: 5.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.789, allocations: 209.7 kB / 0.5991 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.7893, allocations: 0.7043 MB / 0.5998 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.031e-05/0.7894, allocations: 20.39 kB / 0.5999 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.7895, allocations: 31.42 kB / 0.5999 GB, free: 4.477 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.7895, allocations: 0 / 0.5999 GB, free: 4.477 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.8062, allocations: 2.921 MB / 0.6027 GB, free: 1.645 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.8066, allocations: 192 kB / 0.6029 GB, free: 1.414 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.625, allocations: 0 / 0.6029 GB, free: 1.414 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat