Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001163/0.001163, allocations: 179.6 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.429/1.429, allocations: 221.3 MB / 236 MB, free: 2.945 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.000872/0.0008719, allocations: 95.55 kB / 287 MB, free: 248 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.2411/0.2411, allocations: 44.16 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.119e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1849, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4896/0.6745, allocations: 89.24 MB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.6748, allocations: 67.97 kB / 0.589 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.6907, allocations: 5.865 MB / 0.5948 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6908, allocations: 0 / 0.5948 GB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.6908, allocations: 4 kB / 0.5948 GB, free: 10.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006153/0.6914, allocations: 434.1 kB / 0.5952 GB, free: 9.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.6915, allocations: 12.03 kB / 0.5952 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.6916, allocations: 42.48 kB / 0.5952 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.6916, allocations: 19.81 kB / 0.5952 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.6921, allocations: 242.4 kB / 0.5955 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.6921, allocations: 3.953 kB / 0.5955 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.6921, allocations: 4 kB / 0.5955 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.6923, allocations: 113 kB / 0.5956 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.6924, allocations: 0 / 0.5956 GB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.6924, allocations: 3.984 kB / 0.5956 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6924, allocations: 0 / 0.5956 GB, free: 9.098 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.6925, allocations: 31.98 kB / 0.5956 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.6928, allocations: 206.6 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.693, allocations: 109.2 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.6931, allocations: 37.8 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.6931, allocations: 4 kB / 0.596 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.6933, allocations: 105 kB / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6934, allocations: 0 / 0.5961 GB, free: 8.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003369/0.6937, allocations: 133.4 kB / 0.5962 GB, free: 8.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6938, allocations: 136.5 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.6941, allocations: 199 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.6942, allocations: 29.7 kB / 0.5965 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.6942, allocations: 112.1 kB / 0.5966 GB, free: 7.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.6943, allocations: 27.64 kB / 0.5967 GB, free: 7.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.6943, allocations: 8 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.6945, allocations: 330.8 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.6946, allocations: 24 kB / 0.597 GB, free: 7.477 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.603e-05/0.6947, allocations: 69.08 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.988e-05/0.6948, allocations: 36.02 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6948, allocations: 0 / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002118/0.695, allocations: 133.6 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.695, allocations: 4 kB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.695, allocations: 64 / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.695, allocations: 8 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.6952, allocations: 27.86 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6952, allocations: 0 / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.6953, allocations: 12.06 kB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.6953, allocations: 8 kB / 0.5973 GB, free: 7.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.000104/0.6954, allocations: 124.8 kB / 0.5974 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.6955, allocations: 23.67 kB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.6958, allocations: 150.6 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6958, allocations: 4 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6958, allocations: 0 / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6959, allocations: 3.984 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.6961, allocations: 225.6 kB / 0.5978 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6961, allocations: 0 / 0.5978 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.69e-05/0.6961, allocations: 15.92 kB / 0.5978 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6962, allocations: 3.953 kB / 0.5978 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.6962, allocations: 8 kB / 0.5978 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6962, allocations: 0 / 0.5978 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6962, allocations: 0 / 0.5978 GB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6965, allocations: 183.4 kB / 0.598 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/0.6966, allocations: 108.8 kB / 0.5981 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.6966, allocations: 4 kB / 0.5981 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.6967, allocations: 4 kB / 0.5981 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.6967, allocations: 19.92 kB / 0.5981 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.6968, allocations: 0 / 0.5981 GB, free: 6.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001702/0.6969, allocations: 165.5 kB / 0.5983 GB, free: 6.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6969, allocations: 0 / 0.5983 GB, free: 6.023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000262/0.6972, allocations: 47.92 kB / 0.5984 GB, free: 5.977 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001497/0.6987, allocations: 1.112 MB / 0.5994 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.6989, allocations: 79.94 kB / 0.5995 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6989, allocations: 0 / 0.5995 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.699, allocations: 43.92 kB / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.6994, allocations: 55.72 kB / 0.5996 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.7, allocations: 261.6 kB / 0.5999 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.7004, allocations: 0.7244 MB / 0.6006 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.7005, allocations: 21.83 kB / 0.6006 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.7006, allocations: 51.41 kB / 0.6006 GB, free: 3.652 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7006, allocations: 4 kB / 0.6006 GB, free: 3.648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.7183, allocations: 4.2 MB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.7185, allocations: 187.4 kB / 0.6049 GB, free: 15.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.528, allocations: 4.062 kB / 0.6049 GB, free: 15.32 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat