Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001171/0.001171, allocations: 77.97 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.001247/0.001247, allocations: 169 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.116/1.116, 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.2751/0.2751, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.312e-05, allocations: 6.25 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002189/0.002202, allocations: 1.692 MB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003539, allocations: 1.313 MB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.003598, allocations: 0 / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.003762, allocations: 23.86 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.00401, allocations: 91.42 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.004284, allocations: 171.5 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.004409, allocations: 83.75 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.097e-05/0.00449, allocations: 12 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.004552, allocations: 43.83 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.004638, allocations: 31.91 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004653, allocations: 4 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.004778, allocations: 95.81 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.00483, allocations: 23.91 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.004855, allocations: 15.94 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.005042, allocations: 139.5 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005044, allocations: 0 / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005044, allocations: 8 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005048, allocations: 0 / 382.3 MB, free: 14.62 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.0004059/0.005454, allocations: 439.9 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.005493, allocations: 8.031 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.005527, allocations: 8.891 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005663, allocations: 148.4 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.005673, allocations: 4.375 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.00569, allocations: 384 / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.005835, allocations: 108 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.005846, allocations: 4.125 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005854, allocations: 8.125 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.005859, allocations: 0 / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.824e-05/0.005888, allocations: 11.98 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.006149, allocations: 264.4 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.807e-05/0.006207, allocations: 42.98 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.006226, allocations: 15.69 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.006248, allocations: 3.984 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.006277, allocations: 41.41 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.006279, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000309/0.006588, allocations: 121.5 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.006621, allocations: 77.11 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.006727, allocations: 195.9 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.00674, allocations: 25.7 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.006804, allocations: 146.8 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.006827, allocations: 23.78 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.006864, allocations: 23.38 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.00701, allocations: 0.4923 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.00703, allocations: 8 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.007069, allocations: 65.05 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.007108, allocations: 31.62 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007109, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.319e-05/0.007192, allocations: 69.56 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.007201, allocations: 7.938 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007205, allocations: 4 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.007216, allocations: 0 / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.007278, allocations: 15.98 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.007282, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.007306, allocations: 7.984 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.007313, allocations: 8.031 kB / 384.6 MB, free: 12 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 (7): * Single equations (assignments): 7 * 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 6.981e-05/0.007383, allocations: 160.5 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.007404, allocations: 11.89 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.00751, allocations: 78.41 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007512, allocations: 0 / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.007514, allocations: 4 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.007518, allocations: 3.984 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.007775, allocations: 318.3 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007776, allocations: 0 / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.007816, allocations: 19.98 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.007818, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.007823, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007823, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007824, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.008125, allocations: 215.8 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.008134, allocations: 7.953 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.008148, allocations: 7.984 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.008186, allocations: 4 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.008213, allocations: 7.984 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008217, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004112/0.008628, allocations: 148.9 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008628, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.008825, allocations: 47.86 kB / 385.7 MB, free: 10.9 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 (7): * Single equations (assignments): 7 * 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.00101/0.009835, allocations: 482 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.009937, allocations: 47.66 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009939, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.009993, allocations: 27.61 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.01018, allocations: 27.86 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.0105, allocations: 200.8 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01054, allocations: 67.33 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01059, allocations: 12.73 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.747e-05/0.01068, allocations: 94.17 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01068, allocations: 0 / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.004209/0.01489, allocations: 2.22 MB / 388.8 MB, free: 7.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.480628272984177]