Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0008566/0.0008566, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009222/0.0009222, allocations: 165 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 1.004/1.004, allocations: 177.2 MB / 205 MB, free: 5.297 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.2734/0.2734, allocations: 34.25 MB / 295.7 MB, free: 0.7031 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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.318e-05, allocations: 2.312 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.002336/0.002359, allocations: 1.703 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007302/0.003089, allocations: 0.5569 MB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.003134, allocations: 0 / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.0036, allocations: 451.1 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.003992, allocations: 295.2 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.004249, allocations: 131.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.004464, allocations: 175.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.004564, allocations: 11.97 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004675, allocations: 119.8 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.004863, allocations: 255.5 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.00488, allocations: 4 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.00495, allocations: 31.92 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.005038, allocations: 83.72 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.005074, allocations: 39.73 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.005282, allocations: 203.1 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005286, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005286, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.00529, allocations: 0 / 382.1 MB, free: 14.6 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.0005559/0.005846, allocations: 0.7009 MB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.005882, allocations: 12.03 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.005942, allocations: 44.66 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.006133, allocations: 252.8 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.006143, allocations: 384 / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.006167, allocations: 4.375 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.006286, allocations: 62.94 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.006296, allocations: 192 / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.006306, allocations: 8.125 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.006314, allocations: 0 / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.006347, allocations: 15.92 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.006739, allocations: 427.6 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/0.006814, allocations: 35.06 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.00684, allocations: 27.64 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.006858, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.006878, allocations: 41.33 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.006879, allocations: 0 / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.007286, allocations: 208.7 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.007314, allocations: 55.41 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.007707, allocations: 0.6393 MB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.00772, allocations: 29.7 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.007862, allocations: 278.8 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007886, allocations: 27.86 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.00792, allocations: 27.38 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.008064, allocations: 0.5508 MB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.008084, allocations: 4 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.008103, allocations: 16.06 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.008148, allocations: 35.61 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.008149, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.995e-05/0.008249, allocations: 105.3 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.008261, allocations: 10.19 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008267, allocations: 4 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008279, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.008378, allocations: 19.98 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.008382, allocations: 0 / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.008414, allocations: 7.938 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.00842, allocations: 0 / 385.7 MB, free: 10.77 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 7.557e-05/0.008495, allocations: 168.5 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.008528, allocations: 43.72 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.008671, allocations: 113.5 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008673, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008676, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.008679, allocations: 0 / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.009018, allocations: 481.2 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.009021, allocations: 4 kB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.009062, allocations: 15.98 kB / 386.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.009064, allocations: 0 / 386.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.009072, allocations: 7.938 kB / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.009073, allocations: 0 / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009074, allocations: 0 / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.009207, allocations: 267.9 kB / 386.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.009231, allocations: 36 kB / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.009247, allocations: 0 / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.009289, allocations: 4 kB / 386.8 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.009333, allocations: 11.98 kB / 386.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.009337, allocations: 7.922 kB / 386.8 MB, free: 9.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002416/0.009578, allocations: 426.8 kB / 387.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009579, allocations: 0 / 387.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001645/0.009743, allocations: 24 kB / 387.3 MB, free: 9.117 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.0007842/0.01053, allocations: 378.8 kB / 387.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.01064, allocations: 43.66 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01064, allocations: 0 / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01067, allocations: 35.61 kB / 387.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01092, allocations: 36.52 kB / 387.8 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.01156, allocations: 0.5863 MB / 388.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.01164, allocations: 123.2 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01168, allocations: 8.297 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.01171, allocations: 16.5 kB / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01171, allocations: 0 / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004466/0.01618, allocations: 1.591 MB / 390.1 MB, free: 6.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.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.1776664331555367]