Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001097/0.001097, allocations: 177.6 kB / 8.002 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.563/1.563, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008635/0.0008635, allocations: 98.08 kB / 261.8 MB, free: 1.664 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.2012/0.2012, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.874e-05, allocations: 8 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 58.87 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.5254, allocations: 86.95 MB / 0.551 GB, free: 7.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5256, allocations: 75.58 kB / 0.551 GB, free: 7.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.5393, allocations: 5.44 MB / 0.5563 GB, free: 3.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5393, allocations: 7.609 kB / 0.5563 GB, free: 3.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.5393, allocations: 0 / 0.5563 GB, free: 3.34 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.0003713/0.5397, allocations: 403.1 kB / 0.5567 GB, free: 2.914 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5398, allocations: 12.03 kB / 0.5567 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.5398, allocations: 15.8 kB / 0.5568 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.5401, allocations: 222.2 kB / 0.557 GB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5401, allocations: 3.984 kB / 0.557 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.5401, allocations: 7.984 kB / 0.557 GB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.529e-05/0.5402, allocations: 11.88 kB / 0.557 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.323e-05/0.5403, allocations: 53.48 kB / 0.557 GB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5403, allocations: 3.938 kB / 0.557 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5403, allocations: 3.938 kB / 0.557 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.5403, allocations: 0 / 0.557 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.5406, allocations: 272.4 kB / 0.5573 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.5407, allocations: 54 kB / 0.5574 GB, free: 2.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5407, allocations: 16.73 kB / 0.5574 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.5407, allocations: 7.938 kB / 0.5574 GB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.5409, allocations: 71.2 kB / 0.5575 GB, free: 2.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.5409, allocations: 0 / 0.5575 GB, free: 2.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003683/0.5412, allocations: 156.2 kB / 0.5576 GB, free: 1.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.5413, allocations: 51.41 kB / 0.5576 GB, free: 1.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.5414, allocations: 184.1 kB / 0.5578 GB, free: 1.766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5414, allocations: 29.69 kB / 0.5579 GB, free: 1.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.5415, allocations: 99.52 kB / 0.5579 GB, free: 1.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5415, allocations: 23.52 kB / 0.558 GB, free: 1.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5415, allocations: 0 / 0.558 GB, free: 1.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.748e-05/0.5415, allocations: 330.6 kB / 0.5583 GB, free: 1.301 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/0.5416, allocations: 19.75 kB / 0.5583 GB, free: 1.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.5416, allocations: 37.2 kB / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.5417, allocations: 11.81 kB / 0.5584 GB, free: 1.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5417, allocations: 4 kB / 0.5584 GB, free: 1.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.5418, allocations: 100.6 kB / 0.5585 GB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5418, allocations: 8 kB / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5418, allocations: 0 / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.5418, allocations: 0 / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.5419, allocations: 16.03 kB / 0.5585 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.5419, allocations: 4 kB / 0.5585 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.542, allocations: 7.922 kB / 0.5585 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.542, allocations: 7.953 kB / 0.5585 GB, free: 1.113 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 4.591e-05/0.542, allocations: 105 kB / 0.5586 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000107/0.5422, allocations: 96.95 kB / 0.5587 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.5422, allocations: 11.81 kB / 0.5587 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.5423, allocations: 108.5 kB / 0.5588 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5424, allocations: 4.094 kB / 0.5588 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5424, allocations: 11.88 kB / 0.5588 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5424, allocations: 0 / 0.5588 GB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.5427, allocations: 379.1 kB / 0.5592 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5427, allocations: 0 / 0.5592 GB, free: 432 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.5427, allocations: 11.94 kB / 0.5592 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5427, allocations: 0 / 0.5592 GB, free: 420 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5427, allocations: 4 kB / 0.5592 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5427, allocations: 3.984 kB / 0.5592 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5427, allocations: 7.938 kB / 0.5592 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.5429, allocations: 217.2 kB / 0.5594 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.5429, allocations: 96.72 kB / 0.5595 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.543, allocations: 7.953 kB / 0.5595 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.5431, allocations: 3.984 kB / 0.5595 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.5431, allocations: 8 kB / 0.5595 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.5431, allocations: 4 kB / 0.5595 GB, free: 44 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.5432, allocations: 156.1 kB / 0.5597 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5433, allocations: 0 / 0.5597 GB, free: 15.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.5435, allocations: 27.31 kB / 0.5597 GB, free: 15.89 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) * 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.001329/0.5449, allocations: 1.112 MB / 0.5608 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.545, allocations: 53.8 kB / 0.5608 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.545, allocations: 0 / 0.5608 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.638e-05/0.5451, allocations: 30.94 kB / 0.5609 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5454, allocations: 23.11 kB / 0.5609 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.5459, allocations: 244.8 kB / 0.5611 GB, free: 14.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.5462, allocations: 0.7109 MB / 0.5618 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.5463, allocations: 12.56 kB / 0.5618 GB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.5463, allocations: 39.28 kB / 0.5619 GB, free: 13.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5463, allocations: 0 / 0.5619 GB, free: 13.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.5679, allocations: 2.792 MB / 0.5646 GB, free: 10.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.5682, allocations: 175.2 kB / 0.5648 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.119, allocations: 0 / 0.5648 GB, free: 10.73 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat