Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001458/0.001458, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.000923/0.0009229, allocations: 86.84 kB / 281.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.452e-05, allocations: 8.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5065/0.6456, allocations: 89.46 MB / 0.5821 GB, free: 6.918 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.6458, allocations: 75.95 kB / 0.5822 GB, free: 6.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.6577, allocations: 4.367 MB / 0.5865 GB, free: 2.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6578, allocations: 8 kB / 0.5865 GB, free: 2.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6578, allocations: 0 / 0.5865 GB, free: 2.48 MB / 394.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.0005145/0.6583, allocations: 459.8 kB / 0.5869 GB, free: 1.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6584, allocations: 11.98 kB / 0.5869 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.6584, allocations: 11.91 kB / 0.5869 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.6587, allocations: 220.5 kB / 0.5872 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6588, allocations: 7.938 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.6588, allocations: 11.94 kB / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.6589, allocations: 32 kB / 0.5872 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.6591, allocations: 93.92 kB / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6591, allocations: 0 / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6591, allocations: 0 / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6591, allocations: 0 / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.6597, allocations: 0.4975 MB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.66, allocations: 78.67 kB / 0.5879 GB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.66, allocations: 32.86 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.66, allocations: 224 / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.6602, allocations: 83.31 kB / 0.588 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.6602, allocations: 3.938 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002287/0.6604, allocations: 93.44 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.6605, allocations: 55.39 kB / 0.5881 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.6607, allocations: 170.6 kB / 0.5883 GB, free: 448 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.6607, allocations: 29.7 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.6608, allocations: 108 kB / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.6608, allocations: 31.55 kB / 0.5884 GB, free: 268 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.6608, allocations: 0 / 0.5884 GB, free: 268 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.661, allocations: 330.8 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.661, allocations: 20 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.6611, allocations: 62.66 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.6612, allocations: 35.95 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6612, allocations: 0 / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001805/0.6613, allocations: 109.4 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6614, allocations: 4 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6614, allocations: 4.109 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6614, allocations: 8 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.6615, allocations: 23.94 kB / 0.589 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.6615, allocations: 3.984 kB / 0.589 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.6616, allocations: 11.94 kB / 0.589 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.6616, allocations: 4 kB / 0.589 GB, free: 15.63 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.014e-05/0.6617, allocations: 110.1 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001457/0.6619, allocations: 101.5 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.6619, allocations: 19.81 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.6621, allocations: 111.4 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6621, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6621, allocations: 0 / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.6621, allocations: 3.984 kB / 0.5894 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.6623, allocations: 190.3 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6623, allocations: 0 / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.6624, allocations: 15.94 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6624, allocations: 0 / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.6624, allocations: 8.281 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6624, allocations: 4 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6624, allocations: 3.984 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.6627, allocations: 168.7 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.6628, allocations: 100.9 kB / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.6628, allocations: 4 kB / 0.5898 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.6629, allocations: 4 kB / 0.5898 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.6629, allocations: 7.984 kB / 0.5898 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.6629, allocations: 8.062 kB / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.663, allocations: 132.1 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6631, allocations: 0 / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.6633, allocations: 32.12 kB / 0.59 GB, free: 14.54 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.001174/0.6645, allocations: 0.9501 MB / 0.5909 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.6646, allocations: 67.86 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6647, allocations: 0 / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/0.6647, allocations: 31.98 kB / 0.591 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.665, allocations: 27.45 kB / 0.5911 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.6656, allocations: 244.9 kB / 0.5913 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.6659, allocations: 0.7123 MB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.6659, allocations: 21.19 kB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.666, allocations: 47.41 kB / 0.592 GB, free: 12.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.666, allocations: 4 kB / 0.5921 GB, free: 12.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.6885, allocations: 2.944 MB / 0.5949 GB, free: 9.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.6887, allocations: 162.5 kB / 0.5951 GB, free: 9.305 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.288, allocations: 0 / 0.5951 GB, free: 9.305 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat