Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001128/0.001128, allocations: 181.1 kB / 17.06 MB, free: 5.09 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.705/1.705, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009185, allocations: 95.92 kB / 292.1 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3786/0.3786, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 8 kB / 460 MB, free: 1.383 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3704, allocations: 61.91 MB / 0.5097 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4961, allocations: 89.51 MB / 0.5971 GB, free: 5.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.4965, allocations: 83.91 kB / 0.5971 GB, free: 5.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01788/0.5144, allocations: 6.179 MB / 0.6032 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5144, allocations: 0 / 0.6032 GB, free: 15.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.5145, allocations: 4 kB / 0.6032 GB, free: 15.29 MB / 426.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.0005945/0.5151, allocations: 403 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.5151, allocations: 8.031 kB / 0.6036 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.5152, allocations: 34.56 kB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.5152, allocations: 11.91 kB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.5156, allocations: 218.7 kB / 0.6038 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5156, allocations: 3.984 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.5156, allocations: 8 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.5158, allocations: 63.39 kB / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5158, allocations: 0 / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.5158, allocations: 4 kB / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5159, allocations: 0 / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.516, allocations: 23.98 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.5165, allocations: 292.7 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.5166, allocations: 54.69 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5167, allocations: 0 / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.5169, allocations: 79.44 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.5169, allocations: 0 / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005657/0.5174, allocations: 173.3 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5175, allocations: 81.05 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.5177, allocations: 148.7 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.5177, allocations: 25.7 kB / 0.6047 GB, free: 13.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.5178, allocations: 96.12 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.5178, allocations: 23.72 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.5178, allocations: 4 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.518, allocations: 323.1 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.518, allocations: 19.98 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.5181, allocations: 42.56 kB / 0.6052 GB, free: 12.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.884e-05/0.5182, allocations: 20 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5182, allocations: 4 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000175/0.5184, allocations: 109.5 kB / 0.6054 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5184, allocations: 4 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5184, allocations: 0.5625 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5184, allocations: 4 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.5185, allocations: 19.92 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5185, allocations: 4 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.5186, allocations: 7.953 kB / 0.6054 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5186, allocations: 4 kB / 0.6054 GB, free: 12.77 MB / 426.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 () * Number of clocked 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.0001277/0.5188, allocations: 135.1 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.5188, allocations: 11.81 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.5191, allocations: 122.5 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5191, allocations: 0 / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5191, allocations: 0 / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5191, allocations: 0 / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.5196, allocations: 411.3 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5196, allocations: 0 / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.101e-05/0.5197, allocations: 11.98 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5197, allocations: 4 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5197, allocations: 4 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5197, allocations: 3.953 kB / 0.6061 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5197, allocations: 0 / 0.6061 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.52, allocations: 218 kB / 0.6063 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.5201, allocations: 93 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.5201, allocations: 7.953 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.5202, allocations: 0 / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.5202, allocations: 11.98 kB / 0.6064 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.5202, allocations: 4 kB / 0.6064 GB, free: 11.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.5204, allocations: 119.2 kB / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5204, allocations: 0 / 0.6065 GB, free: 11.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00029/0.5207, allocations: 39.92 kB / 0.6065 GB, free: 11.48 MB / 426.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) * Number of clocked states: 0 () * 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.001719/0.5224, allocations: 1.246 MB / 0.6078 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.5226, allocations: 63.86 kB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5226, allocations: 4.062 kB / 0.6078 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.684e-05/0.5227, allocations: 36.08 kB / 0.6079 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.523, allocations: 30.92 kB / 0.6079 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5241, allocations: 0.7884 MB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.5245, allocations: 0.7004 MB / 0.6093 GB, free: 8.695 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.611e-05/0.5246, allocations: 16.55 kB / 0.6094 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.5246, allocations: 31.42 kB / 0.6094 GB, free: 8.648 MB / 426.7 MB Notification: Performance of SimCode: time 3.297e-06/0.5246, allocations: 0 / 0.6094 GB, free: 8.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.541, allocations: 3.097 MB / 0.6124 GB, free: 5.691 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.5412, allocations: 225 kB / 0.6126 GB, free: 5.445 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.301, allocations: 0 / 0.6126 GB, free: 5.445 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat