Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001105/0.001105, allocations: 82.66 kB / 21.42 MB, free: 3.07 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.001195/0.001195, allocations: 171.8 kB / 24.82 MB, free: 8.883 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.124/1.124, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3796/0.3796, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.606e-06/3.606e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.266e-05/5.627e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003814/0.00387, allocations: 1.657 MB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004912, allocations: 0.5375 MB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.005006, allocations: 4 kB / 380.7 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.00542, allocations: 119.6 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.005795, allocations: 135.4 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.006125, allocations: 111.7 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.006326, allocations: 107.7 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.006464, allocations: 4 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.006564, allocations: 63.86 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.006708, allocations: 83.83 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.006729, allocations: 4 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006832, allocations: 43.91 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.006909, allocations: 27.92 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.006945, allocations: 23.88 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.007164, allocations: 99.59 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.00717, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.007173, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.007182, allocations: 0 / 381.5 MB, free: 15.37 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.0005381/0.00772, allocations: 475.6 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.007777, allocations: 8.031 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.007837, allocations: 16.84 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.008031, allocations: 152.4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.008045, allocations: 8.312 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.008069, allocations: 4.375 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.008214, allocations: 58.94 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.008228, allocations: 4.188 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.008239, allocations: 4.125 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.008248, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.911e-05/0.008277, allocations: 7.984 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.00867, allocations: 280.3 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.008739, allocations: 39.06 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.00876, allocations: 15.75 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.008791, allocations: 4 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.008821, allocations: 41.33 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.008822, allocations: 0 / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006231/0.009446, allocations: 161.3 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.009486, allocations: 55.41 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.009676, allocations: 266.7 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.00969, allocations: 33.7 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.009793, allocations: 162.8 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.00983, allocations: 35.72 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.009867, allocations: 27.31 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.01004, allocations: 0.5079 MB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.01006, allocations: 11.98 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.01008, allocations: 4 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.01014, allocations: 31.67 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01014, allocations: 7.922 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.01025, allocations: 77.53 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01027, allocations: 8 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01027, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01029, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.01038, allocations: 12 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01039, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.01041, allocations: 7.984 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01042, allocations: 0 / 384 MB, free: 12.67 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 9.753e-05/0.01052, allocations: 164.5 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.01054, allocations: 15.91 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.01072, allocations: 95.31 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01073, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01073, allocations: 4 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01074, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.01113, allocations: 365.6 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01113, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.01118, allocations: 12 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01119, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.0112, allocations: 11.98 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.0112, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.0112, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.01135, allocations: 235.4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.01136, allocations: 11.91 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.01138, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.01142, allocations: 12.02 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.01146, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01146, allocations: 4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.01155, allocations: 180.1 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01155, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001802/0.01173, allocations: 27.92 kB / 385.1 MB, free: 11.47 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.001086/0.01282, allocations: 433.5 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.01294, allocations: 39.59 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01294, allocations: 4 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.01297, allocations: 27.61 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.01324, allocations: 26.98 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.01371, allocations: 263.5 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.01377, allocations: 71.33 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.01381, allocations: 20.78 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.01389, allocations: 86.19 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01389, allocations: 0 / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Templates: time 0.004891/0.01878, allocations: 1.572 MB / 387.7 MB, free: 9.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.778939815238118]