Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.001734/0.001734, allocations: 184.6 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.844/1.844, 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.0009937, allocations: 90.86 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.2144/0.2144, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003323, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4982, allocations: 87.72 MB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4984, allocations: 76.41 kB / 0.5646 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.5128, allocations: 5.509 MB / 0.57 GB, free: 7.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5128, allocations: 4 kB / 0.57 GB, free: 7.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.5128, allocations: 0 / 0.57 GB, free: 7.348 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.0005108/0.5133, allocations: 445.4 kB / 0.5704 GB, free: 6.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5134, allocations: 8.031 kB / 0.5704 GB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.5134, allocations: 30.56 kB / 0.5704 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.5135, allocations: 11.91 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.5138, allocations: 217.3 kB / 0.5707 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5138, allocations: 0 / 0.5707 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5139, allocations: 4 kB / 0.5707 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.514, allocations: 60.23 kB / 0.5707 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.514, allocations: 3.906 kB / 0.5707 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.514, allocations: 7.984 kB / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5141, allocations: 4 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.5141, allocations: 18.73 kB / 0.5708 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.5145, allocations: 300.1 kB / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.5147, allocations: 60.86 kB / 0.5711 GB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5147, allocations: 8 kB / 0.5711 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.5149, allocations: 66.14 kB / 0.5712 GB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.5149, allocations: 0 / 0.5712 GB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.5155, allocations: 179.7 kB / 0.5713 GB, free: 5.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.5155, allocations: 54.91 kB / 0.5714 GB, free: 5.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5157, allocations: 189.8 kB / 0.5716 GB, free: 5.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.5157, allocations: 33.64 kB / 0.5716 GB, free: 5.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5158, allocations: 113.8 kB / 0.5717 GB, free: 5.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.5158, allocations: 19.17 kB / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.5158, allocations: 0 / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.516, allocations: 325.6 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/0.516, allocations: 21.73 kB / 0.5721 GB, free: 5.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.5161, allocations: 33.7 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.334e-05/0.5162, allocations: 29.69 kB / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5162, allocations: 0 / 0.5721 GB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.5164, allocations: 108 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5164, allocations: 4.188 kB / 0.5722 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5164, allocations: 4 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5164, allocations: 3.938 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.5165, allocations: 16.44 kB / 0.5723 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5165, allocations: 3.953 kB / 0.5723 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.5166, allocations: 9.297 kB / 0.5723 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5166, allocations: 8.781 kB / 0.5723 GB, free: 4.965 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.0001054/0.5167, allocations: 129.7 kB / 0.5724 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.5167, allocations: 15.8 kB / 0.5724 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.517, allocations: 120.6 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.517, allocations: 0 / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.517, allocations: 4 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.517, allocations: 3.953 kB / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.5175, allocations: 422 kB / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5176, allocations: 0 / 0.5729 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.5176, allocations: 8.75 kB / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5176, allocations: 0 / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.5176, allocations: 4.562 kB / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5176, allocations: 3.953 kB / 0.573 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5176, allocations: 7.922 kB / 0.573 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.5179, allocations: 221.6 kB / 0.5732 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.518, allocations: 99.94 kB / 0.5733 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.518, allocations: 7.953 kB / 0.5733 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.5181, allocations: 0 / 0.5733 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5181, allocations: 11.48 kB / 0.5733 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5181, allocations: 4 kB / 0.5733 GB, free: 3.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5183, allocations: 157.5 kB / 0.5734 GB, free: 3.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5183, allocations: 4 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.5185, allocations: 39.3 kB / 0.5735 GB, free: 3.73 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.001397/0.5199, allocations: 1.204 MB / 0.5747 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.5201, allocations: 61.22 kB / 0.5747 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5201, allocations: 0 / 0.5747 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.5202, allocations: 36.42 kB / 0.5747 GB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.5205, allocations: 26.8 kB / 0.5748 GB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5217, allocations: 0.9257 MB / 0.5757 GB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.522, allocations: 0.7121 MB / 0.5764 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.5221, allocations: 20.53 kB / 0.5764 GB, free: 0.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.5221, allocations: 42.98 kB / 0.5764 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5222, allocations: 0 / 0.5764 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.5354, allocations: 3.139 MB / 0.5795 GB, free: 13.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.5356, allocations: 209.8 kB / 0.5797 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.108, allocations: 3.938 kB / 0.5797 GB, free: 13.45 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat