Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001045/0.001045, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001194/0.001194, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 0.9911/0.9911, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1428/0.1428, allocations: 32.81 MB / 295.4 MB, free: 15.36 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.946e-05, allocations: 3.188 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002197/0.002226, allocations: 1.642 MB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.002919, allocations: 0.5297 MB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.002978, allocations: 4 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.003266, allocations: 119.6 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003112/0.003577, allocations: 135.4 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.003833, allocations: 91.69 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.003988, allocations: 99.67 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004088, allocations: 15.98 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.004159, allocations: 63.86 kB / 380 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004266, allocations: 79.83 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004282, allocations: 4 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.004356, allocations: 47.91 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.004404, allocations: 27.92 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.004426, allocations: 19.88 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004576, allocations: 103.5 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.00458, allocations: 0 / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.004581, allocations: 4 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004585, allocations: 0 / 380.3 MB, free: 22.57 MB / 314.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.0003375/0.004923, allocations: 467.7 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.004957, allocations: 15.98 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.004994, allocations: 24.84 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.005106, allocations: 148.4 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.005114, allocations: 384 / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.005133, allocations: 8.359 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.005217, allocations: 54.95 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.005225, allocations: 4.125 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.005232, allocations: 4.125 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.005236, allocations: 4 kB / 381 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.005258, allocations: 11.98 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.005454, allocations: 268.4 kB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.005502, allocations: 42.98 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.005514, allocations: 11.69 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.00553, allocations: 0 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.005543, allocations: 41.33 kB / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.005544, allocations: 0 / 381.3 MB, free: 21.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004034/0.005948, allocations: 169.4 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.005968, allocations: 51.41 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.006064, allocations: 266.7 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.00607, allocations: 25.7 kB / 381.8 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.006111, allocations: 170.8 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.00613, allocations: 27.73 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.006156, allocations: 27.38 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.006205, allocations: 0.5079 MB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.00622, allocations: 7.938 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.006234, allocations: 16.05 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.006266, allocations: 31.67 kB / 382.6 MB, free: 20.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006267, allocations: 3.938 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.145e-05/0.006339, allocations: 73.59 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006349, allocations: 4 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006353, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.00636, allocations: 0 / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.006419, allocations: 19.92 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006421, allocations: 4 kB / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.006437, allocations: 0 / 382.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006443, allocations: 8 kB / 382.7 MB, free: 19.89 MB / 314.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 4.218e-05/0.006485, allocations: 160.5 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.006505, allocations: 15.91 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.006607, allocations: 87.53 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.006609, allocations: 0 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.006611, allocations: 4 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.006616, allocations: 3.984 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.006826, allocations: 353.5 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.006827, allocations: 3.938 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.006865, allocations: 19.98 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.006868, allocations: 8.031 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.006873, allocations: 4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.006875, allocations: 0 / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006876, allocations: 3.938 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.541e-05/0.006961, allocations: 235.8 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.006972, allocations: 19.89 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.006985, allocations: 8 kB / 383.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.317e-05/0.007018, allocations: 0 / 383.6 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.007044, allocations: 7.984 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.007048, allocations: 4 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.403e-05/0.007102, allocations: 184.1 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007102, allocations: 4 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.007258, allocations: 19.94 kB / 383.9 MB, free: 18.69 MB / 314.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.0009024/0.008161, allocations: 440.5 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.008252, allocations: 39.59 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.008253, allocations: 0 / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.205e-05/0.008275, allocations: 23.67 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.008485, allocations: 30.69 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.008783, allocations: 261.1 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.008821, allocations: 79.19 kB / 384.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.008857, allocations: 9.031 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.0089, allocations: 82.19 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0089, allocations: 4 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of Templates: time 0.003201/0.0121, allocations: 1.54 MB / 386.3 MB, free: 16.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.3359275236725807]