Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 184.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2488/0.2488, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004119, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 58.85 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4355/0.5819, allocations: 87.71 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5823, allocations: 74.59 kB / 0.5646 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.598, allocations: 5.825 MB / 0.5703 GB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5981, allocations: 0 / 0.5703 GB, free: 7.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5981, allocations: 4 kB / 0.5703 GB, free: 7.027 MB / 378.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.000576/0.5987, allocations: 436.8 kB / 0.5707 GB, free: 6.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5988, allocations: 8.031 kB / 0.5707 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.5988, allocations: 34.55 kB / 0.5707 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.5989, allocations: 15.84 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.5992, allocations: 221.8 kB / 0.571 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.5993, allocations: 11.73 kB / 0.571 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.5993, allocations: 0 / 0.571 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.5995, allocations: 72.53 kB / 0.571 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5995, allocations: 0 / 0.571 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5995, allocations: 0 / 0.571 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5995, allocations: 4 kB / 0.571 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.5997, allocations: 46.89 kB / 0.5711 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.6002, allocations: 325.5 kB / 0.5714 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.6004, allocations: 92.97 kB / 0.5715 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.6004, allocations: 0 / 0.5715 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.6006, allocations: 84.31 kB / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.6006, allocations: 0 / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006948/0.6013, allocations: 244.7 kB / 0.5718 GB, free: 5.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.6014, allocations: 55.41 kB / 0.5719 GB, free: 5.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6016, allocations: 178.2 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.6016, allocations: 25.7 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.6017, allocations: 106 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.6017, allocations: 34.11 kB / 0.5722 GB, free: 5.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6018, allocations: 0 / 0.5722 GB, free: 5.047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6019, allocations: 324 kB / 0.5725 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.602, allocations: 31.05 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.6021, allocations: 49.25 kB / 0.5726 GB, free: 4.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.6022, allocations: 38.69 kB / 0.5726 GB, free: 4.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6022, allocations: 0 / 0.5726 GB, free: 4.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002587/0.6025, allocations: 137.3 kB / 0.5727 GB, free: 4.527 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6025, allocations: 7.531 kB / 0.5727 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6025, allocations: 3.938 kB / 0.5727 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6025, allocations: 3.938 kB / 0.5728 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.6026, allocations: 19.98 kB / 0.5728 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6027, allocations: 7.953 kB / 0.5728 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.6027, allocations: 7.844 kB / 0.5728 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.6027, allocations: 4 kB / 0.5728 GB, free: 4.48 MB / 378.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 (12): * Single equations (assignments): 12 * 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.0001126/0.6029, allocations: 133.6 kB / 0.5729 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.6029, allocations: 7.906 kB / 0.5729 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.6032, allocations: 172.2 kB / 0.5731 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6033, allocations: 0 / 0.5731 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.6033, allocations: 8 kB / 0.5731 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.6033, allocations: 11.94 kB / 0.5731 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.6039, allocations: 470 kB / 0.5736 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6039, allocations: 0 / 0.5736 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.604, allocations: 23.67 kB / 0.5736 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.604, allocations: 0 / 0.5736 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.604, allocations: 4 kB / 0.5736 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.604, allocations: 3.953 kB / 0.5736 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.604, allocations: 0 / 0.5736 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.6043, allocations: 260.8 kB / 0.5738 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.6044, allocations: 92.81 kB / 0.5739 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.6044, allocations: 7.953 kB / 0.5739 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.6045, allocations: 3.938 kB / 0.5739 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.6046, allocations: 11.98 kB / 0.5739 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6046, allocations: 8 kB / 0.574 GB, free: 3.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.6047, allocations: 152 kB / 0.5741 GB, free: 3.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6047, allocations: 3.938 kB / 0.5741 GB, free: 3.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.605, allocations: 35.84 kB / 0.5741 GB, free: 3.148 MB / 378.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 (13): * Single equations (assignments): 11 * 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.001721/0.6067, allocations: 1.232 MB / 0.5753 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.607, allocations: 86.72 kB / 0.5754 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.607, allocations: 4.062 kB / 0.5754 GB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.6071, allocations: 55.16 kB / 0.5755 GB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6074, allocations: 23.61 kB / 0.5755 GB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6087, allocations: 0.9596 MB / 0.5764 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.6091, allocations: 0.7236 MB / 0.5771 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.33e-05/0.6092, allocations: 24.62 kB / 0.5772 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.6092, allocations: 38.61 kB / 0.5772 GB, free: 160 kB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6092, allocations: 0 / 0.5772 GB, free: 160 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.6251, allocations: 3.357 MB / 0.5805 GB, free: 12.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.6254, allocations: 217.8 kB / 0.5807 GB, free: 12.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.243, allocations: 0 / 0.5807 GB, free: 12.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat