Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.002548/0.002548, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002963/0.002963, allocations: 165.3 kB / 24.27 MB, free: 152 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3341/0.3341, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.785e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003427/0.003455, allocations: 1.619 MB / 378.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004654, allocations: 0.5453 MB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.004705, allocations: 0 / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.005085, allocations: 127.5 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.005434, allocations: 131.5 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.00576, allocations: 111.6 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.005951, allocations: 95.78 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.006044, allocations: 12 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.006162, allocations: 67.73 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.006342, allocations: 79.89 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.006364, allocations: 7.938 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006472, allocations: 47.91 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.00654, allocations: 23.92 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.006583, allocations: 19.88 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.00684, allocations: 115.6 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.006846, allocations: 4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.006847, allocations: 4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.006854, allocations: 0 / 380.3 MB, free: 15.93 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.0007483/0.007602, allocations: 483.2 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.00765, allocations: 8.031 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.007716, allocations: 20.84 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.007942, allocations: 144.4 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.007956, allocations: 4.359 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.007978, allocations: 4.375 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.008119, allocations: 50.23 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.008136, allocations: 4.188 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.008149, allocations: 8.125 kB / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.008153, allocations: 0 / 381 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.008258, allocations: 23.92 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.008768, allocations: 319.7 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.008888, allocations: 47.05 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.008946, allocations: 27.56 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.008968, allocations: 0 / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.009004, allocations: 33.39 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.009005, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008972/0.009902, allocations: 213.3 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.009955, allocations: 55.41 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.01029, allocations: 290.8 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.01031, allocations: 25.7 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.01045, allocations: 170.8 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.0105, allocations: 31.81 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.01056, allocations: 35.36 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.01087, allocations: 0.5118 MB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.01094, allocations: 19.98 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.011, allocations: 15.98 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.01115, allocations: 63.55 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01115, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.01136, allocations: 93.58 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01137, allocations: 8 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01138, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01139, allocations: 0 / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.01149, allocations: 16 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.0115, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.01154, allocations: 12.41 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.01155, allocations: 4 kB / 383 MB, free: 13.02 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 (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 0.0002704/0.01183, allocations: 164.5 kB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.01187, allocations: 15.91 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.01216, allocations: 111.1 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.01217, allocations: 7.984 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01217, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.01218, allocations: 7.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.01279, allocations: 413.4 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01279, allocations: 0 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.01287, allocations: 19.92 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.01287, allocations: 4 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.01289, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01289, allocations: 0 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01289, allocations: 80 / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.01321, allocations: 263.4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01324, allocations: 19.92 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01326, allocations: 4 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.01333, allocations: 4 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01338, allocations: 15.86 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.01339, allocations: 4 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.01358, allocations: 196.1 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01358, allocations: 0 / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.01384, allocations: 23.94 kB / 384.2 MB, free: 11.69 MB / 362.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.003353/0.01719, allocations: 0.4886 MB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.01745, allocations: 59.66 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01745, allocations: 3.938 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.01754, allocations: 35.67 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.01791, allocations: 28 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/0.01864, allocations: 283.1 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.01879, allocations: 105.1 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.371e-05/0.01886, allocations: 25.02 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.0189, allocations: 16.48 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01891, allocations: 4 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Templates: time 0.005679/0.02458, allocations: 1.415 MB / 386.7 MB, free: 9.391 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002967073931359]