Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001632/0.001632, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001437/0.001437, allocations: 161.5 kB / 24.99 MB, free: 8.344 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2732/0.2732, allocations: 34.26 MB / 296 MB, free: 0.7812 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.CombiTable1Ds.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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.744e-05, allocations: 9.828 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.005361/0.005378, allocations: 1.65 MB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007826/0.006161, allocations: 0.5336 MB / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.006216, allocations: 0 / 380.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.006508, allocations: 127.5 kB / 380.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.006792, allocations: 131.5 kB / 380.5 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.007015, allocations: 95.62 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.007181, allocations: 95.73 kB / 380.7 MB, free: 324 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.188e-05/0.007273, allocations: 11.98 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.007353, allocations: 59.86 kB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.01049, allocations: 83.83 kB / 380.8 MB, free: 168 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.01051, allocations: 4 kB / 380.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.885e-05/0.0106, allocations: 51.86 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.01065, allocations: 23.92 kB / 380.9 MB, free: 88 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.01069, allocations: 23.86 kB / 380.9 MB, free: 64 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.01088, allocations: 99.66 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01088, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01088, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.01089, allocations: 0 / 381 MB, free: 15.96 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.000433/0.01132, allocations: 471.6 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.01136, allocations: 8.031 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.0114, allocations: 20.78 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.01155, allocations: 156.4 kB / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.01156, allocations: 384 / 381.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.01158, allocations: 8.375 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.01169, allocations: 54.94 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.0117, allocations: 192 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01171, allocations: 8.125 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.01172, allocations: 7.984 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.335e-05/0.01175, allocations: 4 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.01207, allocations: 315.6 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.01214, allocations: 35.06 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.01216, allocations: 27.7 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.01218, allocations: 0 / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.01221, allocations: 41.39 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.01221, allocations: 3.938 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005569/0.01277, allocations: 173.3 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.0128, allocations: 55.41 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.01299, allocations: 270.8 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01301, allocations: 29.7 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.543e-05/0.01308, allocations: 178.8 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.01311, allocations: 23.8 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.01315, allocations: 27.38 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01328, allocations: 0.5078 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.01331, allocations: 7.984 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.01333, allocations: 8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.01338, allocations: 31.69 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01339, allocations: 0 / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.01349, allocations: 89.5 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.0135, allocations: 5.875 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.01351, allocations: 4 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01352, allocations: 4 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.01359, allocations: 12 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.0136, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.01363, allocations: 15.92 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01363, allocations: 0 / 383.6 MB, free: 13.19 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 7.199e-05/0.0137, allocations: 164.5 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.01374, allocations: 19.91 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.01387, allocations: 83.12 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.01388, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01388, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01388, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.01423, allocations: 393.4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01423, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.01428, allocations: 16 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01428, allocations: 0 / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.01429, allocations: 3.984 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.01429, allocations: 3.938 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01429, allocations: 4 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.01444, allocations: 235.4 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.01445, allocations: 11.98 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01447, allocations: 12 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.01452, allocations: 8.406 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01455, allocations: 7.938 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01456, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.01467, allocations: 192.1 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.0149, allocations: 19.98 kB / 384.7 MB, free: 11.95 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.0009968/0.0159, allocations: 443.2 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.01601, allocations: 43.67 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01601, allocations: 0 / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.01605, allocations: 35.61 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.01632, allocations: 19.94 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.01671, allocations: 267.1 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.01677, allocations: 79.31 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.0168, allocations: 17.09 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.01683, allocations: 16.5 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01683, allocations: 0 / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003377/0.02021, allocations: 1.396 MB / 387 MB, free: 9.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.1650396739132702]