Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.00154/0.00154, 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.572/1.572, allocations: 221.3 MB / 236 MB, free: 2.977 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.000932/0.0009316, allocations: 102.6 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.2425/0.2425, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.918e-05/4.939e-05, allocations: 8 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.556/0.7558, allocations: 89.28 MB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.756, allocations: 71.91 kB / 0.5891 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.7734, allocations: 6.284 MB / 0.5952 GB, free: 9.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7735, allocations: 0 / 0.5952 GB, free: 9.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.7735, allocations: 4 kB / 0.5952 GB, free: 9.613 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006504/0.7741, allocations: 430 kB / 0.5956 GB, free: 9.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.7742, allocations: 8.031 kB / 0.5956 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.7743, allocations: 42.55 kB / 0.5957 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.7743, allocations: 11.81 kB / 0.5957 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.7748, allocations: 234.5 kB / 0.5959 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.7748, allocations: 11.89 kB / 0.5959 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.7748, allocations: 0 / 0.5959 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.775, allocations: 65.67 kB / 0.596 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.775, allocations: 3.906 kB / 0.596 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.7751, allocations: 0 / 0.596 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7751, allocations: 4 kB / 0.596 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.7752, allocations: 35.97 kB / 0.596 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.7758, allocations: 332.7 kB / 0.5963 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.7761, allocations: 74.55 kB / 0.5964 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.7762, allocations: 24.86 kB / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7762, allocations: 0 / 0.5964 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.7764, allocations: 87.41 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.7764, allocations: 0 / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006906/0.7771, allocations: 244.9 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.7772, allocations: 55.39 kB / 0.5968 GB, free: 7.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.7775, allocations: 229.6 kB / 0.597 GB, free: 7.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.7775, allocations: 29.69 kB / 0.597 GB, free: 7.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.7776, allocations: 112.1 kB / 0.5972 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.7777, allocations: 43.61 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.7777, allocations: 4 kB / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.7779, allocations: 330.8 kB / 0.5975 GB, free: 7.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.778, allocations: 32 kB / 0.5975 GB, free: 6.992 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.78e-05/0.7781, allocations: 45.7 kB / 0.5976 GB, free: 6.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.7782, allocations: 39.98 kB / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.7782, allocations: 0 / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002377/0.7784, allocations: 144.3 kB / 0.5978 GB, free: 6.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7785, allocations: 8.969 kB / 0.5978 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7785, allocations: 0 / 0.5978 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.7785, allocations: 11.92 kB / 0.5978 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.7786, allocations: 27.92 kB / 0.5978 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.7786, allocations: 4 kB / 0.5978 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.7787, allocations: 0 / 0.5978 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.7787, allocations: 7.953 kB / 0.5978 GB, free: 6.699 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 (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.0001167/0.7788, allocations: 109 kB / 0.5979 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.7789, allocations: 19.8 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.7792, allocations: 171.6 kB / 0.5981 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7792, allocations: 4 kB / 0.5981 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7792, allocations: 0 / 0.5981 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7792, allocations: 0 / 0.5981 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.7799, allocations: 0.4999 MB / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7799, allocations: 64 / 0.5986 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.78, allocations: 23.98 kB / 0.5986 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.78, allocations: 4 kB / 0.5986 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.78, allocations: 0 / 0.5986 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.78, allocations: 11.89 kB / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7801, allocations: 0 / 0.5986 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.7804, allocations: 273.9 kB / 0.5989 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.7805, allocations: 108.9 kB / 0.599 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.7805, allocations: 0 / 0.599 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.7806, allocations: 8 kB / 0.599 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.7807, allocations: 7.984 kB / 0.599 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.7807, allocations: 11.98 kB / 0.599 GB, free: 5.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.7809, allocations: 180.4 kB / 0.5992 GB, free: 5.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.781, allocations: 8 kB / 0.5992 GB, free: 5.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002968/0.7813, allocations: 51.92 kB / 0.5993 GB, free: 5.098 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001854/0.7831, allocations: 1.322 MB / 0.6006 GB, free: 3.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.7834, allocations: 83.94 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7834, allocations: 0 / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.7835, allocations: 51.92 kB / 0.6007 GB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.7838, allocations: 28.17 kB / 0.6007 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.7846, allocations: 322.5 kB / 0.601 GB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.785, allocations: 0.7243 MB / 0.6017 GB, free: 2.594 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.7851, allocations: 29.19 kB / 0.6018 GB, free: 2.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.7852, allocations: 47.42 kB / 0.6018 GB, free: 2.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.7852, allocations: 4 kB / 0.6018 GB, free: 2.516 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.8018, allocations: 3.861 MB / 0.6056 GB, free: 14.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.802, allocations: 181.3 kB / 0.6057 GB, free: 14.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.544, allocations: 0 / 0.6057 GB, free: 14.52 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat