Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.001053/0.001053, allocations: 177.6 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009477/0.000948, allocations: 82.62 kB / 261.7 MB, free: 1.695 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.2053/0.2053, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.432e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5245, allocations: 86.92 MB / 0.5509 GB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.5248, allocations: 74.53 kB / 0.551 GB, free: 7.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01291/0.5377, allocations: 5.23 MB / 0.5561 GB, free: 3.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5378, allocations: 0 / 0.5561 GB, free: 3.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5378, allocations: 11.88 kB / 0.5561 GB, free: 3.504 MB / 362.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.0004642/0.5383, allocations: 401.2 kB / 0.5565 GB, free: 3.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.5384, allocations: 12.03 kB / 0.5565 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.5384, allocations: 7.906 kB / 0.5565 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5387, allocations: 220.5 kB / 0.5567 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.5388, allocations: 0 / 0.5567 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.5388, allocations: 4 kB / 0.5567 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.412e-05/0.5389, allocations: 15.42 kB / 0.5567 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.496e-05/0.539, allocations: 51.69 kB / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.539, allocations: 0 / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.539, allocations: 0 / 0.5568 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.539, allocations: 4 kB / 0.5568 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.5395, allocations: 270 kB / 0.5571 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5396, allocations: 48.45 kB / 0.5571 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.5396, allocations: 24.22 kB / 0.5571 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.5397, allocations: 3.188 kB / 0.5571 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.5398, allocations: 57.97 kB / 0.5572 GB, free: 2.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.5398, allocations: 0 / 0.5572 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004404/0.5403, allocations: 163.7 kB / 0.5573 GB, free: 2.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.5403, allocations: 51.41 kB / 0.5574 GB, free: 2.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5405, allocations: 173.2 kB / 0.5576 GB, free: 1.977 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5405, allocations: 29.7 kB / 0.5576 GB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.5405, allocations: 102.3 kB / 0.5577 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5406, allocations: 19.16 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5406, allocations: 0 / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.5406, allocations: 322.3 kB / 0.558 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.5407, allocations: 18.8 kB / 0.558 GB, free: 1.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.5407, allocations: 35.97 kB / 0.5581 GB, free: 1.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/0.5408, allocations: 25.23 kB / 0.5581 GB, free: 1.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5408, allocations: 0 / 0.5581 GB, free: 1.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001197/0.5409, allocations: 90.56 kB / 0.5582 GB, free: 1.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5409, allocations: 4 kB / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5409, allocations: 0 / 0.5582 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.541, allocations: 4 kB / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.5411, allocations: 19.11 kB / 0.5582 GB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5411, allocations: 3.938 kB / 0.5582 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.5411, allocations: 4 kB / 0.5582 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.5411, allocations: 4.141 kB / 0.5582 GB, free: 1.336 MB / 362.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 6.728e-05/0.5412, allocations: 110.7 kB / 0.5583 GB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001206/0.5413, allocations: 100.3 kB / 0.5584 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5414, allocations: 15.81 kB / 0.5584 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.5415, allocations: 114.8 kB / 0.5585 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5416, allocations: 3.984 kB / 0.5585 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5416, allocations: 3.953 kB / 0.5585 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5416, allocations: 0 / 0.5585 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.5419, allocations: 380.9 kB / 0.5589 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5419, allocations: 0 / 0.5589 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.542, allocations: 8 kB / 0.5589 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.542, allocations: 0 / 0.5589 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.542, allocations: 6.938 kB / 0.5589 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.542, allocations: 3.953 kB / 0.5589 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.542, allocations: 0 / 0.5589 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5422, allocations: 210 kB / 0.5591 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.5422, allocations: 99.78 kB / 0.5592 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.5422, allocations: 7.891 kB / 0.5592 GB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.5423, allocations: 4 kB / 0.5592 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.5424, allocations: 11.92 kB / 0.5592 GB, free: 272 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5424, allocations: 3.25 kB / 0.5592 GB, free: 272 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.964e-05/0.5425, allocations: 137.9 kB / 0.5594 GB, free: 152 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5425, allocations: 4 kB / 0.5594 GB, free: 148 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.5427, allocations: 24 kB / 0.5594 GB, free: 124 kB / 362.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.001413/0.5441, allocations: 1.092 MB / 0.5605 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5443, allocations: 52.56 kB / 0.5605 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/0.5443, allocations: 8.062 kB / 0.5605 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.5444, allocations: 23.62 kB / 0.5605 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.5447, allocations: 27.72 kB / 0.5606 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.5453, allocations: 226.1 kB / 0.5608 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5457, allocations: 0.7041 MB / 0.5615 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.5458, allocations: 20.92 kB / 0.5615 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.5458, allocations: 38.23 kB / 0.5615 GB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5459, allocations: 3.938 kB / 0.5615 GB, free: 13.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/0.5673, allocations: 2.641 MB / 0.5641 GB, free: 11.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5676, allocations: 170.5 kB / 0.5643 GB, free: 11.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.16, allocations: 0 / 0.5643 GB, free: 11.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat