Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001115/0.001115, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001467/0.001467, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.095/1.095, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3183/0.3183, allocations: 34.27 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.485e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002361/0.002385, allocations: 1.653 MB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007864/0.003172, allocations: 0.5336 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.003244, allocations: 0 / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.003512, allocations: 79.7 kB / 380.8 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.003802, allocations: 103.6 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.004046, allocations: 111.6 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.00419, allocations: 99.62 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.004284, allocations: 4 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.004366, allocations: 47.89 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.877e-05/0.004465, allocations: 47.88 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.00448, allocations: 4 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.004562, allocations: 51.91 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.004611, allocations: 23.92 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.004638, allocations: 11.94 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.004795, allocations: 99.53 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004797, allocations: 0 / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004798, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004802, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000397/0.005199, allocations: 439.9 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.005242, allocations: 12.02 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.005277, allocations: 16.84 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005408, allocations: 149.1 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.005417, allocations: 4.375 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.005434, allocations: 384 / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.00553, allocations: 62.94 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005538, allocations: 192 / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005546, allocations: 8.125 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005551, allocations: 0 / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.005574, allocations: 11.98 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.005819, allocations: 268.3 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.005874, allocations: 43.05 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.005893, allocations: 15.77 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.005916, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.005937, allocations: 41.33 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.005938, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004307/0.006369, allocations: 161.2 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.006396, allocations: 55.41 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.006515, allocations: 234.3 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.006526, allocations: 29.7 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.006588, allocations: 162.8 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.006613, allocations: 23.75 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.00665, allocations: 35.34 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.006783, allocations: 0.4962 MB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.006798, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.006815, allocations: 15.98 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.006855, allocations: 31.67 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.006858, allocations: 3.938 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.988e-05/0.006938, allocations: 69.58 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.006951, allocations: 4 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.006955, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.006965, allocations: 0 / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.007028, allocations: 19.98 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.007031, allocations: 0 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.00705, allocations: 4 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.007057, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0003809/0.007438, allocations: 160.5 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.00746, allocations: 15.91 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.007585, allocations: 95.36 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007586, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007589, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.007592, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.007862, allocations: 353.6 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007864, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.007899, allocations: 12 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007902, allocations: 8.016 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007909, allocations: 8 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.00791, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007911, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.008021, allocations: 231.4 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.008032, allocations: 15.84 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.008042, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.008076, allocations: 11.98 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.008106, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.008111, allocations: 3.984 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.266e-05/0.008174, allocations: 163.1 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008174, allocations: 4 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.008328, allocations: 23.94 kB / 384.9 MB, free: 11.73 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009131/0.009241, allocations: 435.2 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.009321, allocations: 43.59 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009322, allocations: 0 / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.613e-05/0.009348, allocations: 31.61 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.009548, allocations: 21.33 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.009833, allocations: 238.2 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.009871, allocations: 67.34 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.009907, allocations: 24.69 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.00996, allocations: 78.2 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.00996, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.003001/0.01296, allocations: 1.542 MB / 387.3 MB, free: 9.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.3876701979897916]