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.001156/0.001156, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001195/0.001195, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.046/1.046, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2655/0.2655, allocations: 34.26 MB / 296 MB, free: 0.7773 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.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 1.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.291e-05, allocations: 2.312 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002498/0.002521, allocations: 1.743 MB / 379.8 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003645, allocations: 0.553 MB / 380.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.003737, allocations: 4 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.003997, allocations: 27.78 kB / 380.4 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.004385, allocations: 83.5 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.004703, allocations: 139.5 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.004878, allocations: 95.69 kB / 380.7 MB, free: 328 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004986, allocations: 15.98 kB / 380.7 MB, free: 312 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.005074, allocations: 39.91 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.005146, allocations: 43.81 kB / 380.8 MB, free: 228 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.005163, allocations: 8 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.00533, allocations: 99.88 kB / 380.9 MB, free: 120 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.005391, allocations: 19.92 kB / 380.9 MB, free: 100 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005423, allocations: 19.92 kB / 380.9 MB, free: 80 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.005688, allocations: 159.4 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.005693, allocations: 0 / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.005694, allocations: 0 / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.005699, allocations: 0 / 381.1 MB, free: 15.92 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.0005115/0.006211, allocations: 455.8 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.006251, allocations: 12.03 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.00631, allocations: 12.89 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006477, allocations: 145 kB / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.006485, allocations: 384 / 381.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.006508, allocations: 12.31 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.00668, allocations: 119.7 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006688, allocations: 0 / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.006698, allocations: 0 / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006704, allocations: 0 / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.006745, allocations: 11.98 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.007152, allocations: 303.6 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.007278, allocations: 50.98 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.007311, allocations: 19.81 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.007333, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.007361, allocations: 37.39 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007362, allocations: 0 / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000527/0.007889, allocations: 169.2 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.007926, allocations: 77.11 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.008054, allocations: 208.9 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.008067, allocations: 33.7 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.008125, allocations: 146.8 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.008148, allocations: 27.75 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.008189, allocations: 35.36 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.008354, allocations: 0.4962 MB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.008392, allocations: 8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.835e-05/0.00845, allocations: 57.06 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.771e-05/0.008518, allocations: 39.62 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008519, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001293/0.008648, allocations: 85.81 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.008662, allocations: 12.02 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008667, allocations: 0 / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.00868, allocations: 0 / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.008784, allocations: 27.98 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.008791, allocations: 3.984 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.00884, allocations: 19.92 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.008846, allocations: 0 / 383.7 MB, free: 13.1 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 7.882e-05/0.008925, allocations: 164.5 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.008952, allocations: 15.94 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.009106, allocations: 98.41 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.009108, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.009112, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.009117, allocations: 11.92 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.009445, allocations: 369.3 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.009447, allocations: 0 / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.009515, allocations: 23.98 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009517, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.009528, allocations: 3.938 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.009531, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.009532, allocations: 4 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.009684, allocations: 227.8 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.009698, allocations: 7.953 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.009717, allocations: 3.938 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.009776, allocations: 16.36 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.009831, allocations: 11.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.009837, allocations: 4 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.009913, allocations: 151.2 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009913, allocations: 0 / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.01015, allocations: 51.86 kB / 384.8 MB, free: 11.87 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.001102/0.01126, allocations: 0.5045 MB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.01141, allocations: 43.61 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01141, allocations: 8 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.01145, allocations: 23.67 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.0117, allocations: 42.06 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.01209, allocations: 218.6 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.01213, allocations: 63.34 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.01219, allocations: 16.48 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.01224, allocations: 16.5 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01224, allocations: 0 / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004447/0.01668, allocations: 2.653 MB / 388.4 MB, free: 8.441 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.2551149148494005]