Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.0009668/0.0009668, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009343/0.0009343, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9895/0.9895, allocations: 177.1 MB / 205 MB, free: 5.617 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.2517/0.2517, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.573e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002489/0.002514, allocations: 2.058 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003895, allocations: 1.106 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.00399, allocations: 4 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.004397, allocations: 270.9 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.00478, allocations: 270.9 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.005581, allocations: 0.6352 MB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.005896, allocations: 363 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.00604, allocations: 48.91 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.0062, allocations: 183.4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.006395, allocations: 207.5 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.006422, allocations: 12 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.006565, allocations: 103.8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.006671, allocations: 103.6 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.006726, allocations: 51.72 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.007026, allocations: 294.7 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.007029, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00703, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.007035, allocations: 0 / 383.7 MB, free: 12.95 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005689/0.007604, allocations: 0.7048 MB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.007642, allocations: 11.97 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.00771, allocations: 48.66 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.007968, allocations: 282.7 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.007979, allocations: 8.375 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.008011, allocations: 12.38 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.008175, allocations: 102.9 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.008187, allocations: 192 / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.008201, allocations: 8.125 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.008209, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.008279, allocations: 40.61 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.008757, allocations: 487.3 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.008865, allocations: 74.97 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.0089, allocations: 27.67 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.008925, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.008943, allocations: 33.39 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.008945, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005786/0.009523, allocations: 336.6 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.009552, allocations: 55.41 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.009891, allocations: 494.7 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.009905, allocations: 33.7 kB / 386.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01003, allocations: 259.2 kB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-05/0.01007, allocations: 59.48 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.01011, allocations: 39.36 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01026, allocations: 0.5313 MB / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.0103, allocations: 35.72 kB / 387.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.01034, allocations: 31.98 kB / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.01044, allocations: 73.97 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01044, allocations: 0 / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001761/0.01062, allocations: 167 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01063, allocations: 11.94 kB / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01064, allocations: 0 / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01065, allocations: 0 / 387.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01076, allocations: 31.98 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01077, allocations: 3.938 kB / 387.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.0108, allocations: 4 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.01081, allocations: 19.92 kB / 387.7 MB, free: 8.762 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 (17): * Single equations (assignments): 17 * 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.87e-05/0.01089, allocations: 156.6 kB / 387.8 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.01093, allocations: 51.72 kB / 387.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.01118, allocations: 185.5 kB / 388.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01118, allocations: 3.938 kB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01118, allocations: 4 kB / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01119, allocations: 0 / 388.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.01166, allocations: 0.5659 MB / 388.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01166, allocations: 0 / 388.6 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.01173, allocations: 35.98 kB / 388.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01174, allocations: 3.984 kB / 388.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01175, allocations: 8 kB / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01175, allocations: 0 / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01175, allocations: 0 / 388.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.01196, allocations: 327.3 kB / 389 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.01198, allocations: 31.72 kB / 389 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.012, allocations: 0 / 389 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.01205, allocations: 11.98 kB / 389.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.01209, allocations: 7.984 kB / 389.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.0121, allocations: 4 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.0123, allocations: 335 kB / 389.4 MB, free: 6.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.0123, allocations: 4 kB / 389.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01251, allocations: 51.92 kB / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001398/0.01391, allocations: 0.6474 MB / 390.1 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.01408, allocations: 99.47 kB / 390.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01408, allocations: 4 kB / 390.2 MB, free: 6.449 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.01414, allocations: 57.95 kB / 390.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.01447, allocations: 103.1 kB / 390.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.01514, allocations: 0.6002 MB / 391 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.01522, allocations: 124.2 kB / 391.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.438e-05/0.0153, allocations: 45.91 kB / 391.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.01536, allocations: 36.48 kB / 391.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01536, allocations: 0 / 391.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of Templates: time 0.005561/0.02092, allocations: 3.44 MB / 394.6 MB, free: 2.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.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.336888180114329]