Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.001275/0.001275, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001072/0.001072, allocations: 166.9 kB / 24.82 MB, free: 9.262 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.361/0.361, allocations: 34.26 MB / 296.1 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.726e-06/2.726e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.642e-05, allocations: 6.25 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002493/0.002519, allocations: 1.735 MB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007866/0.003306, allocations: 0.5491 MB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.003378, allocations: 0 / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.003593, allocations: 27.78 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.003877, allocations: 91.48 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.004098, allocations: 131.6 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.004264, allocations: 103.6 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00437, allocations: 12 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.004468, allocations: 47.88 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.004542, allocations: 31.91 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.00456, allocations: 8 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.004702, allocations: 99.81 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.004766, allocations: 23.91 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.004794, allocations: 23.98 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.005029, allocations: 155.4 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00503, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005031, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005037, allocations: 0 / 381.5 MB, free: 15.32 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.0004681/0.005505, allocations: 455.8 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.005548, allocations: 12.03 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.005588, allocations: 16.83 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.005736, allocations: 148.2 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.005744, allocations: 384 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.005766, allocations: 12.38 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.005924, allocations: 111.8 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.005935, allocations: 4 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.005944, allocations: 4 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005949, allocations: 0 / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.005976, allocations: 7.938 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.006288, allocations: 280.4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.006381, allocations: 35.06 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.006407, allocations: 31.66 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.006436, allocations: 15.97 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.006458, allocations: 33.39 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.006459, allocations: 0 / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004164/0.006876, allocations: 149.6 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.006914, allocations: 81.11 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007031, allocations: 201.8 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007044, allocations: 25.7 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.007106, allocations: 142.9 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.007131, allocations: 39.69 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.007174, allocations: 35.36 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.007317, allocations: 0.4961 MB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.007342, allocations: 11.98 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.007388, allocations: 53.06 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.007441, allocations: 31.95 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.007442, allocations: 4 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.87e-05/0.00754, allocations: 81.45 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.007556, allocations: 10.19 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007561, allocations: 0 / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.007572, allocations: 4.031 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.00766, allocations: 31.91 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.007664, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.007707, allocations: 15.98 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.007714, allocations: 7.938 kB / 384.1 MB, free: 12.54 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 (10): * Single equations (assignments): 10 * 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 8.208e-05/0.007796, allocations: 160.6 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.007816, allocations: 7.953 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.00794, allocations: 86.38 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007942, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007943, allocations: 4 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.007947, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.008238, allocations: 345.9 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.00824, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.008302, allocations: 27.92 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008305, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.008312, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.008313, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.008316, allocations: 7.938 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.00845, allocations: 219.8 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.008463, allocations: 15.89 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.008479, allocations: 8 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.008531, allocations: 11.98 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.008575, allocations: 15.92 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.008579, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.00864, allocations: 154.5 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00864, allocations: 4 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.008824, allocations: 51.8 kB / 385.2 MB, free: 11.37 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 (9): * Single equations (assignments): 9 * 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.001153/0.009977, allocations: 497.8 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.01009, allocations: 51.59 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01009, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.01013, allocations: 27.61 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01035, allocations: 38.55 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.01067, allocations: 206.7 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.01083, allocations: 63.34 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.01089, allocations: 16.48 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.933e-05/0.01098, allocations: 94.19 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01098, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of Templates: time 0.004926/0.0159, allocations: 2.955 MB / 389.1 MB, free: 7.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.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.371153292711824]