Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001016/0.001016, 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.43/1.43, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009273/0.0009271, allocations: 80.06 kB / 287 MB, free: 260 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.2119/0.2119, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.86e-05, allocations: 8.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1661, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/0.6966, allocations: 89.05 MB / 0.5888 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.697, allocations: 75.95 kB / 0.5889 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.7145, allocations: 6.699 MB / 0.5954 GB, free: 9.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.7146, allocations: 0 / 0.5954 GB, free: 9.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.7146, allocations: 12 kB / 0.5954 GB, free: 9.434 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.0007584/0.7154, allocations: 0.6025 MB / 0.596 GB, free: 8.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.7154, allocations: 12.03 kB / 0.596 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.7155, allocations: 42.5 kB / 0.596 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.7156, allocations: 47.44 kB / 0.5961 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.7164, allocations: 483 kB / 0.5966 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.7165, allocations: 11.98 kB / 0.5966 GB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.7165, allocations: 3.938 kB / 0.5966 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.7167, allocations: 83.44 kB / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7167, allocations: 0 / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7167, allocations: 0 / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.7167, allocations: 4 kB / 0.5966 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.7168, allocations: 31.98 kB / 0.5967 GB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.7172, allocations: 386.2 kB / 0.597 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.7174, allocations: 101.3 kB / 0.5971 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.7175, allocations: 45.8 kB / 0.5972 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.7175, allocations: 3.938 kB / 0.5972 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.7177, allocations: 105.1 kB / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.7177, allocations: 0 / 0.5973 GB, free: 7.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003422/0.7181, allocations: 164.9 kB / 0.5974 GB, free: 7.125 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.7181, allocations: 85.11 kB / 0.5975 GB, free: 7.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.7194, allocations: 0.9305 MB / 0.5984 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.7195, allocations: 29.69 kB / 0.5985 GB, free: 6.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7197, allocations: 232.1 kB / 0.5987 GB, free: 5.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.7197, allocations: 31.62 kB / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.7197, allocations: 0 / 0.5987 GB, free: 5.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.7199, allocations: 370.8 kB / 0.5991 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.72, allocations: 24 kB / 0.5991 GB, free: 5.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.7201, allocations: 59.36 kB / 0.5992 GB, free: 5.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.7202, allocations: 36.11 kB / 0.5992 GB, free: 5.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7202, allocations: 0 / 0.5992 GB, free: 5.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002574/0.7204, allocations: 164.9 kB / 0.5993 GB, free: 5.121 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7205, allocations: 8.938 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7205, allocations: 4.062 kB / 0.5994 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.7205, allocations: 4 kB / 0.5994 GB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7206, allocations: 23.92 kB / 0.5994 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.7207, allocations: 3.938 kB / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7208, allocations: 15.89 kB / 0.5994 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.7208, allocations: 8 kB / 0.5994 GB, free: 5.055 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 9.073e-05/0.7209, allocations: 112.9 kB / 0.5995 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.721, allocations: 55.39 kB / 0.5996 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.7213, allocations: 197.5 kB / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.7213, allocations: 0 / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7214, allocations: 4 kB / 0.5998 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.7214, allocations: 0 / 0.5998 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.7218, allocations: 389.3 kB / 0.6001 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7218, allocations: 0 / 0.6001 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.7218, allocations: 15.92 kB / 0.6001 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7218, allocations: 3.953 kB / 0.6002 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.7219, allocations: 4.25 kB / 0.6002 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7219, allocations: 4 kB / 0.6002 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7219, allocations: 4 kB / 0.6002 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.7222, allocations: 215 kB / 0.6004 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.7225, allocations: 200.3 kB / 0.6006 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.7226, allocations: 8 kB / 0.6006 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.7227, allocations: 7.984 kB / 0.6006 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.7228, allocations: 15.98 kB / 0.6006 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.7228, allocations: 11.94 kB / 0.6006 GB, free: 3.719 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009058/0.7237, allocations: 0.7396 MB / 0.6013 GB, free: 2.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7237, allocations: 0 / 0.6013 GB, free: 2.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.724, allocations: 80 kB / 0.6014 GB, free: 2.902 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.001428/0.7255, allocations: 1.109 MB / 0.6025 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.7256, allocations: 79.92 kB / 0.6026 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7257, allocations: 0 / 0.6026 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/0.7257, allocations: 39.98 kB / 0.6026 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.7261, allocations: 65.3 kB / 0.6027 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.7275, allocations: 0.9063 MB / 0.6035 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.728, allocations: 0.8506 MB / 0.6044 GB, free: 15.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.7282, allocations: 86.95 kB / 0.6045 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.7284, allocations: 155.4 kB / 0.6046 GB, free: 15.63 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.7284, allocations: 0 / 0.6046 GB, free: 15.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.7507, allocations: 9.044 MB / 0.6134 GB, free: 6.668 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.7509, allocations: 184.1 kB / 0.6136 GB, free: 6.445 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.942, allocations: 3.938 kB / 0.6136 GB, free: 6.441 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat