Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.617/1.617, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007551/0.0007549, allocations: 89.41 kB / 271.9 MB, free: 8.25 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.4268/0.4268, allocations: 43.56 MB / 363.8 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003983, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1339, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4997, allocations: 87.73 MB / 0.5656 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5001, allocations: 75.95 kB / 0.5657 GB, free: 14.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.515, allocations: 5.332 MB / 0.5709 GB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.515, allocations: 0 / 0.5709 GB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.515, allocations: 4 kB / 0.5709 GB, free: 9.176 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.0005679/0.5156, allocations: 422 kB / 0.5713 GB, free: 8.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5157, allocations: 8.031 kB / 0.5713 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.5157, allocations: 16.75 kB / 0.5713 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.516, allocations: 224.7 kB / 0.5715 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.516, allocations: 4.375 kB / 0.5715 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.5161, allocations: 4.375 kB / 0.5715 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.5162, allocations: 58.23 kB / 0.5716 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5162, allocations: 192 / 0.5716 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5163, allocations: 3.938 kB / 0.5716 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5163, allocations: 0 / 0.5716 GB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.5164, allocations: 23.92 kB / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.5168, allocations: 292.9 kB / 0.5719 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.517, allocations: 70.55 kB / 0.572 GB, free: 7.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.5171, allocations: 16.86 kB / 0.572 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.5171, allocations: 3.984 kB / 0.572 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.5173, allocations: 75.28 kB / 0.5721 GB, free: 7.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5173, allocations: 4 kB / 0.5721 GB, free: 7.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005866/0.5179, allocations: 181.1 kB / 0.5722 GB, free: 7.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.5179, allocations: 51.41 kB / 0.5723 GB, free: 7.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5181, allocations: 198.2 kB / 0.5725 GB, free: 7.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.5182, allocations: 29.7 kB / 0.5725 GB, free: 7.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.5182, allocations: 100.1 kB / 0.5726 GB, free: 7.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.5183, allocations: 27.64 kB / 0.5726 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5183, allocations: 7.938 kB / 0.5726 GB, free: 7.184 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5184, allocations: 330.8 kB / 0.5729 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.39e-05/0.5185, allocations: 20.75 kB / 0.573 GB, free: 6.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.5185, allocations: 33.7 kB / 0.573 GB, free: 6.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5187, allocations: 57.89 kB / 0.573 GB, free: 6.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5187, allocations: 0 / 0.573 GB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.5189, allocations: 109.5 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5189, allocations: 8 kB / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5189, allocations: 0 / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5189, allocations: 0 / 0.5732 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.519, allocations: 19.98 kB / 0.5732 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.519, allocations: 3.938 kB / 0.5732 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.5191, allocations: 4 kB / 0.5732 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5191, allocations: 4 kB / 0.5732 GB, free: 6.578 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 () * Number of clocked 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 0.0001046/0.5192, allocations: 137.3 kB / 0.5733 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.5192, allocations: 15.81 kB / 0.5733 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.5195, allocations: 119 kB / 0.5735 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5195, allocations: 4 kB / 0.5735 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5195, allocations: 0 / 0.5735 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5196, allocations: 0 / 0.5735 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.52, allocations: 415.2 kB / 0.5739 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.52, allocations: 0 / 0.5739 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.5201, allocations: 20.03 kB / 0.5739 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5201, allocations: 4.312 kB / 0.5739 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.5201, allocations: 0 / 0.5739 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5201, allocations: 8 kB / 0.5739 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5201, allocations: 4.172 kB / 0.5739 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.5204, allocations: 212.1 kB / 0.5741 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.5205, allocations: 89.02 kB / 0.5742 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5205, allocations: 11.98 kB / 0.5742 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.5206, allocations: 4 kB / 0.5742 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.5206, allocations: 7.922 kB / 0.5742 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.5206, allocations: 8 kB / 0.5742 GB, free: 5.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.5208, allocations: 152.9 kB / 0.5743 GB, free: 5.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5208, allocations: 3.938 kB / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.5211, allocations: 31.94 kB / 0.5744 GB, free: 5.25 MB / 394.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) * Number of clocked states: 0 () * 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.001016/0.5221, allocations: 471 kB / 0.5748 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.5223, allocations: 63.89 kB / 0.5749 GB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5223, allocations: 4 kB / 0.5749 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.5224, allocations: 32.05 kB / 0.5749 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5228, allocations: 35.09 kB / 0.575 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.5233, allocations: 290 kB / 0.5752 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.5236, allocations: 0.7043 MB / 0.5759 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.5236, allocations: 15.44 kB / 0.5759 GB, free: 3.699 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5236, allocations: 0 / 0.5759 GB, free: 3.699 MB / 394.7 MB Notification: Performance of Templates: time 0.003637/0.5273, allocations: 1.957 MB / 0.5779 GB, free: 1.754 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches