Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.001622/0.001622, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.706/1.706, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.00083/0.00083, allocations: 96.39 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4272/0.4272, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.123e-05/5.169e-05, allocations: 8 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1405, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.592, allocations: 87.62 MB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5924, allocations: 69.14 kB / 0.5585 GB, free: 16.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.6072, allocations: 5.576 MB / 0.564 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6073, allocations: 4 kB / 0.564 GB, free: 13.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.6073, allocations: 3.062 kB / 0.564 GB, free: 13.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004401/0.6077, allocations: 415.3 kB / 0.5644 GB, free: 12.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.6078, allocations: 8.031 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.6078, allocations: 30.56 kB / 0.5644 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.6079, allocations: 19.25 kB / 0.5644 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.6082, allocations: 219.9 kB / 0.5647 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6082, allocations: 3.188 kB / 0.5647 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.6082, allocations: 7.312 kB / 0.5647 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.6083, allocations: 52.92 kB / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6084, allocations: 0 / 0.5647 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6084, allocations: 5.375 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6084, allocations: 0.6562 kB / 0.5647 GB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.6085, allocations: 21.8 kB / 0.5647 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.6088, allocations: 312.2 kB / 0.565 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.609, allocations: 44.2 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.609, allocations: 28.47 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.609, allocations: 4 kB / 0.5651 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.6092, allocations: 70.64 kB / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6092, allocations: 0 / 0.5652 GB, free: 11.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004717/0.6097, allocations: 155.6 kB / 0.5653 GB, free: 11.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.6097, allocations: 55.34 kB / 0.5654 GB, free: 11.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.6099, allocations: 198 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.6099, allocations: 29.7 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.61, allocations: 112.8 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.61, allocations: 27.14 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.61, allocations: 0 / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6102, allocations: 326 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.6102, allocations: 18.56 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.6103, allocations: 33.03 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.172e-05/0.6103, allocations: 23.3 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6103, allocations: 4 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001434/0.6105, allocations: 103.6 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6105, allocations: 7.984 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6105, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6105, allocations: 1.125 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.6106, allocations: 16 kB / 0.5662 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6107, allocations: 3.953 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.6107, allocations: 7.984 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.6107, allocations: 0 / 0.5662 GB, free: 10.86 MB / 394.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 (10): * Single equations (assignments): 10 * 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 5.919e-05/0.6108, allocations: 117.6 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.6108, allocations: 15.81 kB / 0.5664 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.6111, allocations: 128.6 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.6111, allocations: 96 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6111, allocations: 3.938 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6111, allocations: 3.953 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.6115, allocations: 417.3 kB / 0.5669 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6115, allocations: 4.031 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.6115, allocations: 8 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.6115, allocations: 4 kB / 0.5669 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6116, allocations: 7.891 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6116, allocations: 0 / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6116, allocations: 0 / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.6118, allocations: 227 kB / 0.5671 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.6118, allocations: 96.05 kB / 0.5672 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.6118, allocations: 7.953 kB / 0.5672 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.6119, allocations: 8.172 kB / 0.5673 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.612, allocations: 7.938 kB / 0.5673 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.612, allocations: 4 kB / 0.5673 GB, free: 9.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.6121, allocations: 170.8 kB / 0.5674 GB, free: 9.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6121, allocations: 4 kB / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.6124, allocations: 30.31 kB / 0.5675 GB, free: 9.633 MB / 394.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001286/0.6137, allocations: 1.14 MB / 0.5686 GB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6139, allocations: 54.31 kB / 0.5686 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6139, allocations: 0 / 0.5686 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.6139, allocations: 27.12 kB / 0.5686 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.6143, allocations: 28.23 kB / 0.5687 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006166/0.6149, allocations: 262.6 kB / 0.5689 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.6151, allocations: 0.7194 MB / 0.5696 GB, free: 7.465 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.495e-05/0.6151, allocations: 16.86 kB / 0.5696 GB, free: 7.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.6152, allocations: 42.53 kB / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6152, allocations: 0 / 0.5697 GB, free: 7.426 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.6299, allocations: 3.219 MB / 0.5728 GB, free: 4.242 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.6301, allocations: 191.6 kB / 0.573 GB, free: 4.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.248, allocations: 0 / 0.573 GB, free: 4.012 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat