Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.001872/0.001872, allocations: 183 kB / 13.19 MB, free: 2.129 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.773/1.773, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0007838/0.0007838, allocations: 77.88 kB / 267 MB, free: 9.289 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.3887/0.3887, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.886e-05/4.899e-05, allocations: 4 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.5182, allocations: 87.45 MB / 0.5583 GB, free: 1.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5185, allocations: 75.95 kB / 0.5584 GB, free: 1.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.5338, allocations: 5.226 MB / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5338, allocations: 0 / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.5339, allocations: 4 kB / 0.5635 GB, free: 12.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005688/0.5344, allocations: 396.6 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5345, allocations: 8.031 kB / 0.5639 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.77e-05/0.5346, allocations: 30.56 kB / 0.5639 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.5346, allocations: 15.28 kB / 0.5639 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.535, allocations: 215.6 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5351, allocations: 4 kB / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.5351, allocations: 0 / 0.5641 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.5352, allocations: 53.67 kB / 0.5642 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5353, allocations: 4 kB / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5353, allocations: 0 / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5353, allocations: 1.375 kB / 0.5642 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.5354, allocations: 15.94 kB / 0.5642 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.5356, allocations: 189.6 kB / 0.5644 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.5358, allocations: 50.56 kB / 0.5644 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.5359, allocations: 16.86 kB / 0.5645 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.5359, allocations: 4 kB / 0.5645 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.5361, allocations: 63.48 kB / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.5361, allocations: 0 / 0.5645 GB, free: 11.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003067/0.5364, allocations: 82.84 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.5365, allocations: 51.41 kB / 0.5646 GB, free: 10.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5367, allocations: 169.3 kB / 0.5648 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.5367, allocations: 33.64 kB / 0.5648 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.5368, allocations: 104.1 kB / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.5369, allocations: 19.72 kB / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.5369, allocations: 0 / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5371, allocations: 326.8 kB / 0.5653 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.5371, allocations: 15.98 kB / 0.5653 GB, free: 10.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.5372, allocations: 25.72 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.5372, allocations: 15.98 kB / 0.5653 GB, free: 10.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5372, allocations: 4 kB / 0.5653 GB, free: 10.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/0.5374, allocations: 77.53 kB / 0.5654 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.5375, allocations: 9.094 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5375, allocations: 0.6562 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5375, allocations: 0 / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5376, allocations: 8 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5376, allocations: 4 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.623e-05/0.5377, allocations: 3.984 kB / 0.5654 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5377, allocations: 11.94 kB / 0.5654 GB, free: 10.04 MB / 394.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 (7): * Single equations (assignments): 7 * 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 9.69e-05/0.5378, allocations: 113 kB / 0.5655 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.5379, allocations: 19.73 kB / 0.5656 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.5381, allocations: 85.77 kB / 0.5656 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5381, allocations: 0 / 0.5656 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.5381, allocations: 4 kB / 0.5656 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5381, allocations: 0 / 0.5656 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.5383, allocations: 189.6 kB / 0.5658 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5384, allocations: 0.875 kB / 0.5658 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.5384, allocations: 11.92 kB / 0.5658 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.5384, allocations: 0 / 0.5658 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5384, allocations: 8 kB / 0.5658 GB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.5385, allocations: 4 kB / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5385, allocations: 192 / 0.5659 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.5387, allocations: 109 kB / 0.566 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.5388, allocations: 92.97 kB / 0.566 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.5388, allocations: 0 / 0.566 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.5389, allocations: 7.984 kB / 0.5661 GB, free: 9.309 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.5389, allocations: 4 kB / 0.5661 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5389, allocations: 4 kB / 0.5661 GB, free: 9.301 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5391, allocations: 144.1 kB / 0.5662 GB, free: 9.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5391, allocations: 0 / 0.5662 GB, free: 9.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.5394, allocations: 27.94 kB / 0.5662 GB, free: 9.133 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001589/0.541, allocations: 0.9267 MB / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.5412, allocations: 43.92 kB / 0.5672 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5412, allocations: 0 / 0.5672 GB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.5413, allocations: 20 kB / 0.5672 GB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5416, allocations: 17 kB / 0.5672 GB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.5423, allocations: 201.2 kB / 0.5674 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.5427, allocations: 0.7199 MB / 0.5681 GB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.501e-05/0.5428, allocations: 12.42 kB / 0.5681 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.5429, allocations: 27.42 kB / 0.5681 GB, free: 7.16 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5429, allocations: 0 / 0.5681 GB, free: 7.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.5621, allocations: 2.714 MB / 0.5708 GB, free: 4.477 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.5624, allocations: 187 kB / 0.571 GB, free: 4.254 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.299, allocations: 0 / 0.571 GB, free: 4.254 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat