Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001139/0.001139, allocations: 183.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.718/1.718, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009941/0.0009933, allocations: 98.78 kB / 270.2 MB, free: 13.36 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.2175/0.2175, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 58.87 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.5176, allocations: 87.72 MB / 0.5645 GB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5179, allocations: 68.22 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01457/0.5325, allocations: 5.641 MB / 0.5701 GB, free: 7.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5325, allocations: 0 / 0.5701 GB, free: 7.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.5325, allocations: 4 kB / 0.5701 GB, free: 7.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005601/0.5331, allocations: 434.1 kB / 0.5705 GB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.5331, allocations: 8.031 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.5332, allocations: 38.12 kB / 0.5706 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.5332, allocations: 11.81 kB / 0.5706 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.5336, allocations: 234.1 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5336, allocations: 3.562 kB / 0.5708 GB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.5336, allocations: 4 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5338, allocations: 52.8 kB / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.5338, allocations: 11.84 kB / 0.5709 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5338, allocations: 0 / 0.5709 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5338, allocations: 4 kB / 0.5709 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.5339, allocations: 23.59 kB / 0.5709 GB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.5343, allocations: 306.7 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.5345, allocations: 61.42 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5345, allocations: 4 kB / 0.5712 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.5347, allocations: 66.7 kB / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.5347, allocations: 3.938 kB / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.5353, allocations: 185.1 kB / 0.5715 GB, free: 5.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5353, allocations: 59.33 kB / 0.5715 GB, free: 5.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.5355, allocations: 217.6 kB / 0.5718 GB, free: 5.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.5356, allocations: 37.2 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.5356, allocations: 106 kB / 0.5719 GB, free: 5.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5356, allocations: 23.22 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-06/0.5357, allocations: 0 / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5358, allocations: 325.9 kB / 0.5722 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.5359, allocations: 22.67 kB / 0.5722 GB, free: 4.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.536, allocations: 36.83 kB / 0.5723 GB, free: 4.891 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.536, allocations: 30.73 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.536, allocations: 0 / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.5362, allocations: 103.2 kB / 0.5724 GB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5363, allocations: 4 kB / 0.5724 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5363, allocations: 0 / 0.5724 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5363, allocations: 4 kB / 0.5724 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.5364, allocations: 15.98 kB / 0.5724 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5364, allocations: 3.953 kB / 0.5724 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/0.5365, allocations: 7.75 kB / 0.5724 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.5365, allocations: 8.031 kB / 0.5725 GB, free: 4.742 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 (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 0.0001206/0.5366, allocations: 136.3 kB / 0.5726 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5366, allocations: 15.81 kB / 0.5726 GB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.5369, allocations: 122.8 kB / 0.5727 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5369, allocations: 0 / 0.5727 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.537, allocations: 0 / 0.5727 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.537, allocations: 7.953 kB / 0.5727 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.5375, allocations: 427.1 kB / 0.5731 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5375, allocations: 3.938 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.5376, allocations: 15.98 kB / 0.5731 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5376, allocations: 4.281 kB / 0.5732 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5376, allocations: 1.188 kB / 0.5732 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.5376, allocations: 3.953 kB / 0.5732 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5376, allocations: 7.938 kB / 0.5732 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.5378, allocations: 226.1 kB / 0.5734 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.5379, allocations: 96.91 kB / 0.5735 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.538, allocations: 7.328 kB / 0.5735 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.5381, allocations: 4 kB / 0.5735 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5381, allocations: 7.984 kB / 0.5735 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5381, allocations: 7.312 kB / 0.5735 GB, free: 3.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.5383, allocations: 189.1 kB / 0.5737 GB, free: 3.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5383, allocations: 0 / 0.5737 GB, free: 3.504 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.5386, allocations: 39.69 kB / 0.5737 GB, free: 3.469 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 (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.001435/0.54, allocations: 1.196 MB / 0.5749 GB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.5402, allocations: 57.66 kB / 0.5749 GB, free: 2.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5402, allocations: 3.938 kB / 0.5749 GB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.5403, allocations: 40.92 kB / 0.575 GB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5406, allocations: 26.16 kB / 0.575 GB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5419, allocations: 0.9927 MB / 0.576 GB, free: 1.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.5422, allocations: 0.7231 MB / 0.5767 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.5423, allocations: 16.55 kB / 0.5767 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.5423, allocations: 38.05 kB / 0.5767 GB, free: 500 kB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5423, allocations: 0 / 0.5767 GB, free: 500 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.5605, allocations: 3.316 MB / 0.58 GB, free: 13.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.5608, allocations: 217.1 kB / 0.5802 GB, free: 12.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.15, allocations: 3.938 kB / 0.5802 GB, free: 12.95 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat