Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 95.31 kB / 20.43 MB, free: 4.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 165.3 kB / 23.8 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9512/0.9512, allocations: 158.6 MB / 185.7 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1981/0.1981, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.673e-05, allocations: 8.219 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002105/0.002132, allocations: 1.738 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008711/0.003003, allocations: 0.7959 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.003078, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.00338, allocations: 47.75 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.003595, allocations: 55.7 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.003814, allocations: 91.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003962, allocations: 99.69 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.004052, allocations: 8.219 kB / 350.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.004128, allocations: 47.78 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.004195, allocations: 27.91 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004212, allocations: 4 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.004288, allocations: 43.92 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.00434, allocations: 27.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.004383, allocations: 27.84 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004554, allocations: 99.66 kB / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004556, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004558, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.004563, allocations: 0 / 350.9 MB, free: 6.242 MB / 282.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.0003802/0.004944, allocations: 455.8 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.004983, allocations: 12.03 kB / 351.3 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.005028, allocations: 12.84 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.005168, allocations: 164.3 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.005186, allocations: 4.375 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.00521, allocations: 384 / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005329, allocations: 62.94 kB / 351.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005339, allocations: 3.938 kB / 351.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.00535, allocations: 3.984 kB / 351.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005358, allocations: 4 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.57e-05/0.005393, allocations: 7.938 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.005666, allocations: 295.8 kB / 351.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.005769, allocations: 55.16 kB / 351.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.005799, allocations: 23.62 kB / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.005813, allocations: 0 / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.833e-05/0.005901, allocations: 68.98 kB / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.005903, allocations: 0 / 352 MB, free: 4.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003673/0.00627, allocations: 153.7 kB / 352.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.006291, allocations: 55.39 kB / 352.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006399, allocations: 249.9 kB / 352.5 MB, free: 4.473 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.006408, allocations: 25.7 kB / 352.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.006447, allocations: 150.9 kB / 352.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.006469, allocations: 35.78 kB / 352.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006498, allocations: 31.38 kB / 352.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.006542, allocations: 0.5001 MB / 353.2 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.006564, allocations: 8 kB / 353.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.006595, allocations: 35.36 kB / 353.2 MB, free: 3.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.006651, allocations: 59.3 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006653, allocations: 0 / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001133/0.006766, allocations: 93.52 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.006781, allocations: 4 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006786, allocations: 8.031 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.006802, allocations: 0 / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.006878, allocations: 16 kB / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006884, allocations: 0 / 353.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.006912, allocations: 7.984 kB / 353.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.006918, allocations: 4 kB / 353.4 MB, free: 3.449 MB / 282.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.006969, allocations: 168.5 kB / 353.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.006983, allocations: 19.78 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.007126, allocations: 107.3 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007128, allocations: 4 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.007132, allocations: 4 kB / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007135, allocations: 0 / 353.7 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.007355, allocations: 393 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.007358, allocations: 3.984 kB / 354.1 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.007385, allocations: 15.94 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.007388, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.007396, allocations: 0 / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.007398, allocations: 4 kB / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007399, allocations: 0 / 354.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.007506, allocations: 267.4 kB / 354.4 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.007517, allocations: 11.91 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007535, allocations: 3.984 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.007576, allocations: 4 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.00761, allocations: 11.98 kB / 354.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.007629, allocations: 4 kB / 354.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.00769, allocations: 179.1 kB / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00769, allocations: 0 / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.007866, allocations: 27.92 kB / 354.6 MB, free: 2.156 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009016/0.008768, allocations: 445.9 kB / 355.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.008889, allocations: 55.53 kB / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008891, allocations: 0 / 355.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.008927, allocations: 35.62 kB / 355.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.009168, allocations: 27.97 kB / 355.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.009532, allocations: 233.8 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.009566, allocations: 71.27 kB / 355.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.985e-05/0.009606, allocations: 24.59 kB / 355.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.009639, allocations: 20.44 kB / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009639, allocations: 0 / 355.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of Templates: time 0.003718/0.01336, allocations: 1.852 MB / 357.4 MB, free: 15.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2585515594109893]