Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008964/0.0008965, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 98.05 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.623e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5351, allocations: 88.56 MB / 0.5812 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.5353, allocations: 71.97 kB / 0.5812 GB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.5502, allocations: 5.713 MB / 0.5868 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5503, allocations: 3.938 kB / 0.5868 GB, free: 2.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.5503, allocations: 6.953 kB / 0.5868 GB, free: 2.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004872/0.5508, allocations: 394.2 kB / 0.5872 GB, free: 1.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5508, allocations: 15.98 kB / 0.5872 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.5509, allocations: 15.81 kB / 0.5872 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.5512, allocations: 218.8 kB / 0.5874 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.5513, allocations: 3.953 kB / 0.5875 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.5513, allocations: 0 / 0.5875 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.95e-05/0.5514, allocations: 19.98 kB / 0.5875 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.5515, allocations: 53.67 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5515, allocations: 0 / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5515, allocations: 0 / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5515, allocations: 3.938 kB / 0.5875 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.5519, allocations: 281.4 kB / 0.5878 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.552, allocations: 54.62 kB / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.552, allocations: 20.97 kB / 0.5879 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5521, allocations: 0 / 0.5879 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.5522, allocations: 63.41 kB / 0.5879 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5522, allocations: 0 / 0.5879 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004425/0.5527, allocations: 153.2 kB / 0.5881 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.5527, allocations: 51.41 kB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.5529, allocations: 201.7 kB / 0.5883 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5529, allocations: 25.7 kB / 0.5883 GB, free: 476 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.553, allocations: 108.1 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.553, allocations: 20.47 kB / 0.5885 GB, free: 344 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-06/0.5531, allocations: 4 kB / 0.5885 GB, free: 340 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5532, allocations: 326.8 kB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.5532, allocations: 19.98 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.5533, allocations: 37.66 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.619e-05/0.5533, allocations: 31.86 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5533, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.5535, allocations: 89.59 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5535, allocations: 8.031 kB / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5535, allocations: 0 / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5535, allocations: 0 / 0.589 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.263e-05/0.5536, allocations: 23.92 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5536, allocations: 0 / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.5537, allocations: 3.984 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.5537, allocations: 4 kB / 0.589 GB, free: 15.78 MB / 410.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 7.295e-05/0.5538, allocations: 108.9 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.5538, allocations: 11.81 kB / 0.5891 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.554, allocations: 119.4 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.554, allocations: 0 / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5541, allocations: 0 / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5541, allocations: 3.984 kB / 0.5892 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.5545, allocations: 392 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5545, allocations: 4 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.5545, allocations: 8 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5545, allocations: 3.938 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.5545, allocations: 8.031 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5545, allocations: 3.984 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5546, allocations: 0 / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5548, allocations: 218 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.5548, allocations: 92.92 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.5549, allocations: 4 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.5549, allocations: 7.984 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.555, allocations: 8 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.555, allocations: 4.375 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5551, allocations: 159.2 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5551, allocations: 0 / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.5554, allocations: 31.94 kB / 0.5901 GB, free: 14.51 MB / 410.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.0008456/0.5562, allocations: 392.8 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.5564, allocations: 59.91 kB / 0.5906 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5564, allocations: 4.062 kB / 0.5906 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.5565, allocations: 24 kB / 0.5906 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.5568, allocations: 28.11 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.5572, allocations: 194 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5574, allocations: 0.7158 MB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.5575, allocations: 24.55 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.5576, allocations: 15.44 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5576, allocations: 0 / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of Templates: time 0.004302/0.5619, allocations: 1.685 MB / 0.5932 GB, free: 11.41 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches