Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001018/0.001018, allocations: 80.41 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.001044/0.001044, allocations: 165.7 kB / 25.61 MB, free: 8.492 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.004/1.004, allocations: 177.1 MB / 206 MB, free: 4.512 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.138/0.138, allocations: 32.79 MB / 295.4 MB, free: 15.39 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.54e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002388/0.002413, allocations: 1.7 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.003329, allocations: 0.5764 MB / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.003399, allocations: 0 / 379.6 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.003868, allocations: 459 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.004248, allocations: 299.1 kB / 380.3 MB, free: 22.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.004603, allocations: 175.5 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.004803, allocations: 191.5 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.004891, allocations: 16.23 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.004994, allocations: 123.8 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.005175, allocations: 243.6 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.005192, allocations: 4 kB / 381 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.547e-05/0.005287, allocations: 55.91 kB / 381.1 MB, free: 21.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.005361, allocations: 83.72 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.005397, allocations: 43.73 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.005616, allocations: 227 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.005617, allocations: 0 / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005618, allocations: 0 / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.005624, allocations: 0 / 381.4 MB, free: 21.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005358/0.00616, allocations: 0.7125 MB / 382.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006197, allocations: 11.98 kB / 382.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.006251, allocations: 48.66 kB / 382.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.006424, allocations: 260.7 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.006431, allocations: 384 / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.006452, allocations: 4.375 kB / 382.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.006564, allocations: 66.94 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.006574, allocations: 4.141 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.006583, allocations: 4.125 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.006589, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.006621, allocations: 11.92 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.006943, allocations: 344.3 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.007066, allocations: 47.14 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.007085, allocations: 19.61 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.007101, allocations: 11.94 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.007115, allocations: 33.39 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007116, allocations: 0 / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005469/0.007663, allocations: 249.6 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/0.007682, allocations: 55.41 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.008014, allocations: 0.6001 MB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.008023, allocations: 33.7 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.008155, allocations: 310.6 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.008183, allocations: 35.64 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.008221, allocations: 35.34 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.008305, allocations: 0.5624 MB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.008327, allocations: 11.94 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.008349, allocations: 15.98 kB / 384.9 MB, free: 17.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.008401, allocations: 43.09 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008403, allocations: 4 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001222/0.008525, allocations: 117.3 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.008536, allocations: 4 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.00854, allocations: 4 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.008548, allocations: 3.984 kB / 385.1 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.008618, allocations: 31.92 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.008621, allocations: 0 / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.008663, allocations: 4 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.008671, allocations: 7.984 kB / 385.1 MB, free: 17.52 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 (11): * Single equations (assignments): 11 * 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.176e-05/0.008732, allocations: 160.5 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.008778, allocations: 51.67 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.00894, allocations: 129.5 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008942, allocations: 4 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.008944, allocations: 0 / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.008948, allocations: 3.984 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.009301, allocations: 480.9 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.009303, allocations: 0 / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.009361, allocations: 23.98 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.009364, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.009372, allocations: 8 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009374, allocations: 0 / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.009379, allocations: 4.062 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009515, allocations: 286.9 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.959e-05/0.009545, allocations: 39.67 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.009567, allocations: 4 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.009639, allocations: 11.98 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.009673, allocations: 11.92 kB / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.009678, allocations: 0 / 386.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.009877, allocations: 398.7 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009877, allocations: 0 / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.01013, allocations: 35.94 kB / 386.7 MB, free: 15.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009632/0.01109, allocations: 442 kB / 387.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.01119, allocations: 51.59 kB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01119, allocations: 0 / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.01123, allocations: 39.61 kB / 387.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01153, allocations: 33.14 kB / 387.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006057/0.01213, allocations: 0.642 MB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.341e-05/0.01221, allocations: 131.1 kB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.01226, allocations: 20.47 kB / 388.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.01232, allocations: 82.2 kB / 388.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01232, allocations: 0 / 388.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of Templates: time 0.004281/0.0166, allocations: 2.006 MB / 390.2 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.2665565656498075]