Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",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.002404/0.00241, allocations: 179 kB / 8.364 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 83.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2993/0.2993, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.48e-05, allocations: 8.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4264, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5913, allocations: 86.83 MB / 0.5508 GB, free: 12.37 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5916, allocations: 67.97 kB / 0.5509 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02697/0.6186, allocations: 6.426 MB / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6187, allocations: 0 / 0.5571 GB, free: 5.879 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.938e-05/0.6187, allocations: 12 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001016/0.6198, allocations: 0.5993 MB / 0.5577 GB, free: 5.223 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.6198, allocations: 8.031 kB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.62, allocations: 51.34 kB / 0.5578 GB, free: 5.164 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.6212, allocations: 483.1 kB / 0.5583 GB, free: 4.652 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6213, allocations: 11.97 kB / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.6213, allocations: 0 / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/0.6215, allocations: 31.98 kB / 0.5583 GB, free: 4.609 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.6217, allocations: 79.31 kB / 0.5584 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6217, allocations: 3.938 kB / 0.5584 GB, free: 4.516 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.6217, allocations: 4 kB / 0.5584 GB, free: 4.512 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6217, allocations: 4 kB / 0.5584 GB, free: 4.508 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.6223, allocations: 358.8 kB / 0.5587 GB, free: 4.117 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.6225, allocations: 97.34 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.6227, allocations: 37.66 kB / 0.5589 GB, free: 3.961 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.6227, allocations: 0 / 0.5589 GB, free: 3.961 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.623, allocations: 105.2 kB / 0.559 GB, free: 3.84 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/0.623, allocations: 0 / 0.559 GB, free: 3.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005289/0.6235, allocations: 168.9 kB / 0.5591 GB, free: 3.668 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.6236, allocations: 77.11 kB / 0.5592 GB, free: 3.574 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.6256, allocations: 0.9083 MB / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.6256, allocations: 25.7 kB / 0.5601 GB, free: 2.629 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.6258, allocations: 246.6 kB / 0.5603 GB, free: 2.387 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.922e-05/0.6259, allocations: 23.72 kB / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.6259, allocations: 0 / 0.5604 GB, free: 2.363 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6261, allocations: 326.8 kB / 0.5607 GB, free: 2.035 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.6261, allocations: 20 kB / 0.5607 GB, free: 2.016 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6263, allocations: 52.92 kB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.6264, allocations: 31.92 kB / 0.5608 GB, free: 1.922 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6264, allocations: 4 kB / 0.5608 GB, free: 1.918 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002917/0.6267, allocations: 109.5 kB / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.6267, allocations: 8 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6267, allocations: 0 / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.6268, allocations: 0 / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.627, allocations: 23.98 kB / 0.5609 GB, free: 1.773 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.627, allocations: 0 / 0.5609 GB, free: 1.773 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.6272, allocations: 11.94 kB / 0.5609 GB, free: 1.762 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.6273, allocations: 7.984 kB / 0.5609 GB, free: 1.754 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000112/0.6274, allocations: 124.8 kB / 0.561 GB, free: 1.625 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004248/0.6278, allocations: 165.3 kB / 0.5612 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.628, allocations: 59.33 kB / 0.5613 GB, free: 1.398 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.6285, allocations: 182 kB / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6285, allocations: 0 / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6285, allocations: 0 / 0.5614 GB, free: 1.211 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.6285, allocations: 4 kB / 0.5614 GB, free: 1.207 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.629, allocations: 365.8 kB / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6291, allocations: 4 kB / 0.5618 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.6292, allocations: 11.94 kB / 0.5618 GB, free: 0.7969 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6292, allocations: 4 kB / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.6292, allocations: 7.984 kB / 0.5618 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.6292, allocations: 0 / 0.5618 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6292, allocations: 4 kB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.6297, allocations: 215 kB / 0.562 GB, free: 0.543 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.6301, allocations: 192.3 kB / 0.5622 GB, free: 344 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.6302, allocations: 4 kB / 0.5622 GB, free: 340 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.6304, allocations: 11.98 kB / 0.5622 GB, free: 328 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.6305, allocations: 15.92 kB / 0.5622 GB, free: 312 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.6305, allocations: 7.984 kB / 0.5622 GB, free: 304 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.6319, allocations: 0.7136 MB / 0.5629 GB, free: 15.59 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6319, allocations: 0 / 0.5629 GB, free: 15.59 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004908/0.6324, allocations: 75.98 kB / 0.563 GB, free: 15.51 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001787/0.6342, allocations: 1.075 MB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.6346, allocations: 71.92 kB / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6346, allocations: 0 / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.6347, allocations: 36 kB / 0.5642 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.6355, allocations: 65.34 kB / 0.5642 GB, free: 14.29 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.6379, allocations: 0.9455 MB / 0.5651 GB, free: 13.29 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.6386, allocations: 0.8585 MB / 0.566 GB, free: 12.4 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004362/0.639, allocations: 159.4 kB / 0.5661 GB, free: 12.25 MB / 411.1 MB Notification: Performance of SimCode: time 9.92e-07/0.639, allocations: 0 / 0.5661 GB, free: 12.25 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.788/3.427, allocations: 8.236 MB / 0.5742 GB, free: 4.004 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat