Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.0008659/0.0008659, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001021/0.001021, allocations: 165 kB / 23.8 MB, free: 0.7734 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.9653/0.9653, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1678/0.1678, 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.294e-05, allocations: 8.219 kB / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00238/0.002413, allocations: 1.73 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.003344, allocations: 0.7998 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.003434, allocations: 4 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.003778, allocations: 47.7 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.004041, allocations: 47.77 kB / 350.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.004283, allocations: 91.69 kB / 350.5 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004488, allocations: 99.62 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.004627, allocations: 4.234 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.004723, allocations: 55.83 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.004817, allocations: 27.91 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.004841, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.004938, allocations: 39.92 kB / 350.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.005003, allocations: 19.92 kB / 350.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.005059, allocations: 19.92 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.005266, allocations: 103.5 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00527, allocations: 4 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005271, allocations: 0 / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.005279, allocations: 0 / 350.8 MB, free: 6.258 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.000532/0.00581, allocations: 443.9 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.005857, allocations: 8.031 kB / 351.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.005919, allocations: 12.89 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.00611, allocations: 140.4 kB / 351.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.006134, allocations: 8.375 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.006159, allocations: 8.266 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006315, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.006327, allocations: 7.938 kB / 351.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.006338, allocations: 3.984 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.006346, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.511e-05/0.006381, allocations: 8 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.006667, allocations: 287.8 kB / 351.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006779, allocations: 51.11 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.00681, allocations: 31.59 kB / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.006824, allocations: 0 / 351.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006926, allocations: 65.05 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.006927, allocations: 4 kB / 352 MB, free: 5.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004257/0.007353, allocations: 153.3 kB / 352.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.007383, allocations: 51.41 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.007488, allocations: 224.1 kB / 352.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.007499, allocations: 37.64 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.007538, allocations: 142.9 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.007569, allocations: 35.73 kB / 352.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.007603, allocations: 27.38 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.007675, allocations: 0.4962 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.007707, allocations: 15.92 kB / 353.1 MB, free: 3.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.007745, allocations: 39.73 kB / 353.2 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.007809, allocations: 47.31 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007811, allocations: 0 / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.007944, allocations: 97.64 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.007964, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.007973, allocations: 4.062 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.007997, allocations: 4 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.008099, allocations: 12 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.008109, allocations: 8.016 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.008148, allocations: 7.938 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.008154, allocations: 0 / 353.3 MB, free: 3.527 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 7.473e-05/0.008229, allocations: 168.5 kB / 353.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.008246, allocations: 15.91 kB / 353.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.008433, allocations: 102.4 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.008437, allocations: 4 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.008443, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.008449, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.008758, allocations: 389 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.00876, allocations: 4.031 kB / 354 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.719e-05/0.008788, allocations: 8 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.008791, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.008801, allocations: 8 kB / 354 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.008805, allocations: 3.984 kB / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008806, allocations: 0 / 354 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.008917, allocations: 259.4 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.008928, allocations: 7.953 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.008947, allocations: 8 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.008986, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.00902, allocations: 11.98 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.009035, allocations: 4 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.00909, allocations: 171.9 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00909, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.009276, allocations: 27.92 kB / 354.5 MB, free: 2.273 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.0009618/0.01024, allocations: 437.3 kB / 354.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.01038, allocations: 55.53 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01038, allocations: 0 / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.01042, allocations: 31.91 kB / 355 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01068, allocations: 39.3 kB / 355.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.01107, allocations: 221.3 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.01112, allocations: 71.33 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01116, allocations: 8.5 kB / 355.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01119, allocations: 24.48 kB / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0112, allocations: 64 / 355.4 MB, free: 1.434 MB / 282.7 MB Notification: Performance of Templates: time 0.00449/0.01569, allocations: 1.973 MB / 357.4 MB, free: 15.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.030677150003612]