Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001854/0.001854, 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.539/1.539, allocations: 221.3 MB / 236 MB, free: 2.926 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.0008249/0.0008247, allocations: 95.8 kB / 287 MB, free: 228 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.2281/0.2281, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.636e-05/4.639e-05, allocations: 4.219 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5189/0.7002, allocations: 89.22 MB / 0.5889 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.7005, allocations: 71.92 kB / 0.589 GB, free: 15.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.716, allocations: 5.694 MB / 0.5946 GB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.716, allocations: 4 kB / 0.5946 GB, free: 10.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.7161, allocations: 11.92 kB / 0.5946 GB, free: 10.23 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.0005581/0.7166, allocations: 398.3 kB / 0.595 GB, free: 9.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.7167, allocations: 12.03 kB / 0.595 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.7168, allocations: 38.55 kB / 0.595 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.7168, allocations: 11.81 kB / 0.595 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.7172, allocations: 223.3 kB / 0.5952 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.7172, allocations: 7.953 kB / 0.5952 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.7172, allocations: 4 kB / 0.5952 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.7174, allocations: 53.62 kB / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7174, allocations: 0 / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.7174, allocations: 0 / 0.5953 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.7174, allocations: 3.984 kB / 0.5953 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.649e-05/0.7175, allocations: 16 kB / 0.5953 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.7179, allocations: 304.7 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.7181, allocations: 58.69 kB / 0.5957 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.7181, allocations: 16.98 kB / 0.5957 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.7182, allocations: 4 kB / 0.5957 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.7183, allocations: 67.33 kB / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.7183, allocations: 0 / 0.5957 GB, free: 8.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004661/0.7188, allocations: 153.2 kB / 0.5959 GB, free: 8.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.7189, allocations: 59.41 kB / 0.596 GB, free: 8.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.7191, allocations: 198.4 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.7191, allocations: 25.7 kB / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.7192, allocations: 108.1 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.7192, allocations: 31.62 kB / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7192, allocations: 0 / 0.5963 GB, free: 8.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.7194, allocations: 330.8 kB / 0.5966 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.7194, allocations: 16 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.7195, allocations: 37.72 kB / 0.5967 GB, free: 7.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.7196, allocations: 23.98 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.7196, allocations: 0 / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.7197, allocations: 101.4 kB / 0.5968 GB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7198, allocations: 5.094 kB / 0.5968 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7198, allocations: 0 / 0.5968 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7198, allocations: 3.984 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.561e-05/0.7199, allocations: 16 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.7199, allocations: 4.031 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.72, allocations: 4.188 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.72, allocations: 4 kB / 0.5968 GB, free: 7.711 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 8.555e-05/0.7201, allocations: 124.8 kB / 0.5969 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.7201, allocations: 7.906 kB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.7204, allocations: 119 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7204, allocations: 4 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.7204, allocations: 0 / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.7204, allocations: 7.938 kB / 0.5971 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.721, allocations: 415.3 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.721, allocations: 0 / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.7211, allocations: 11.98 kB / 0.5975 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.7211, allocations: 4 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.7211, allocations: 0 / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7211, allocations: 0 / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7211, allocations: 4 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.7213, allocations: 221.9 kB / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.7214, allocations: 96.91 kB / 0.5978 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.7215, allocations: 4 kB / 0.5978 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.7215, allocations: 3.984 kB / 0.5978 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.7216, allocations: 11.94 kB / 0.5978 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.7216, allocations: 12 kB / 0.5978 GB, free: 6.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.7218, allocations: 156.2 kB / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7218, allocations: 0 / 0.598 GB, free: 6.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.7221, allocations: 39.92 kB / 0.598 GB, free: 6.371 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.001509/0.7236, allocations: 1.144 MB / 0.5991 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.7237, allocations: 59.92 kB / 0.5992 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7238, allocations: 0 / 0.5992 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/0.7238, allocations: 32.06 kB / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.7241, allocations: 23.94 kB / 0.5992 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.7247, allocations: 248.4 kB / 0.5995 GB, free: 4.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.725, allocations: 0.716 MB / 0.6002 GB, free: 4.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.7251, allocations: 16.62 kB / 0.6002 GB, free: 4.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.7252, allocations: 39.42 kB / 0.6002 GB, free: 4.125 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7252, allocations: 0 / 0.6002 GB, free: 4.125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.7423, allocations: 3.148 MB / 0.6033 GB, free: 1.062 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.7426, allocations: 193.4 kB / 0.6035 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.522, allocations: 0 / 0.6035 GB, free: 0.8359 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat