Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.001542/0.001542, 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.501/1.501, allocations: 221.4 MB / 236 MB, free: 2.953 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.0009304/0.0009304, allocations: 91.8 kB / 287 MB, free: 252 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.2737/0.2737, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.861e-05, allocations: 8.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 61.91 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.625, allocations: 90.13 MB / 0.5898 GB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6253, allocations: 75.95 kB / 0.5899 GB, free: 15.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01253/0.6379, allocations: 4.386 MB / 0.5942 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6379, allocations: 0 / 0.5942 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.638, allocations: 7.984 kB / 0.5942 GB, free: 10.67 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007808/0.6388, allocations: 455.8 kB / 0.5946 GB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6388, allocations: 8.031 kB / 0.5946 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.6389, allocations: 42.55 kB / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.6389, allocations: 11.91 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6393, allocations: 227.2 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6393, allocations: 11.89 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.6394, allocations: 11.98 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.6396, allocations: 97.52 kB / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.6396, allocations: 0 / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.6396, allocations: 7.984 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.6397, allocations: 4 kB / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.978e-05/0.6398, allocations: 35.92 kB / 0.5951 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.6404, allocations: 0.5204 MB / 0.5956 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.6407, allocations: 74.69 kB / 0.5956 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.6407, allocations: 37.06 kB / 0.5957 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.6408, allocations: 4.156 kB / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.6409, allocations: 87.25 kB / 0.5958 GB, free: 8.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.6409, allocations: 4 kB / 0.5958 GB, free: 8.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002554/0.6412, allocations: 105.4 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6413, allocations: 55.36 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.6414, allocations: 170.6 kB / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6415, allocations: 29.7 kB / 0.5961 GB, free: 8.465 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.6416, allocations: 116 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.6416, allocations: 31.56 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.6416, allocations: 4 kB / 0.5963 GB, free: 8.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6418, allocations: 322.8 kB / 0.5966 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.6418, allocations: 23.98 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.6419, allocations: 60.42 kB / 0.5966 GB, free: 7.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.642, allocations: 36.02 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.642, allocations: 3.938 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001893/0.6422, allocations: 125.4 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6422, allocations: 4.938 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6422, allocations: 4 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6422, allocations: 0 / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6423, allocations: 28.11 kB / 0.5968 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6424, allocations: 3.938 kB / 0.5968 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.6424, allocations: 19.88 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6425, allocations: 8 kB / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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 8.891e-05/0.6426, allocations: 109 kB / 0.597 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.6426, allocations: 15.81 kB / 0.597 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.6428, allocations: 115.1 kB / 0.5971 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.6429, allocations: 8 kB / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.6429, allocations: 0 / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.6429, allocations: 0 / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.6431, allocations: 221.4 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6431, allocations: 0 / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.6432, allocations: 12 kB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6432, allocations: 7.984 kB / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.6432, allocations: 0 / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.6432, allocations: 4 kB / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6432, allocations: 3.938 kB / 0.5973 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.6435, allocations: 177.9 kB / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.6436, allocations: 100.9 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.6437, allocations: 96 / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.6437, allocations: 19.92 kB / 0.5976 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.6438, allocations: 4 kB / 0.5976 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.6438, allocations: 3.984 kB / 0.5976 GB, free: 6.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001417/0.6439, allocations: 145.2 kB / 0.5978 GB, free: 6.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.644, allocations: 4 kB / 0.5978 GB, free: 6.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.6442, allocations: 27.98 kB / 0.5978 GB, free: 6.598 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001366/0.6455, allocations: 0.983 MB / 0.5988 GB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.6457, allocations: 72.06 kB / 0.5988 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6457, allocations: 0 / 0.5988 GB, free: 5.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.6458, allocations: 35.98 kB / 0.5989 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.6461, allocations: 28.16 kB / 0.5989 GB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.6467, allocations: 253.6 kB / 0.5991 GB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.647, allocations: 0.7204 MB / 0.5998 GB, free: 4.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.965e-05/0.6471, allocations: 17.2 kB / 0.5998 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.6472, allocations: 43.42 kB / 0.5999 GB, free: 4.473 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6472, allocations: 0 / 0.5999 GB, free: 4.473 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.6644, allocations: 3.304 MB / 0.6031 GB, free: 1.258 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.6647, allocations: 188 kB / 0.6033 GB, free: 1.031 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.369, allocations: 0 / 0.6033 GB, free: 1.031 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat