Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007963/0.0007963, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.002617, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001354/0.001354, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.002919, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09955/1.111, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2571/0.2571, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02573/0.2829, allocations: 12.53 MB / 289.3 MB, free: 8.684 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.678e-05, allocations: 3.078 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002631/0.002657, allocations: 1.778 MB / 292.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.003515, allocations: 0.5746 MB / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.003602, allocations: 0 / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.00379, allocations: 29.08 kB / 293 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.004046, allocations: 81.02 kB / 293.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.004337, allocations: 135.1 kB / 293.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.004478, allocations: 91.38 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.11e-05/0.004549, allocations: 16.84 kB / 293.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.004658, allocations: 68.39 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.004725, allocations: 39.28 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.004739, allocations: 8 kB / 293.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.004908, allocations: 103.8 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.004949, allocations: 15.94 kB / 293.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.004969, allocations: 15.94 kB / 293.6 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.005167, allocations: 139.6 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.005182, allocations: 4 kB / 293.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005183, allocations: 0 / 293.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.005196, allocations: 0 / 293.7 MB, free: 5.195 MB / 282.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.0004752/0.005671, allocations: 356.4 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.466e-05/0.005696, allocations: 8.031 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.005727, allocations: 12.92 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.00586, allocations: 138.7 kB / 294.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.005868, allocations: 384 / 294.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.005883, allocations: 4.375 kB / 294.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006018, allocations: 118.1 kB / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.006025, allocations: 0 / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.00603, allocations: 4 kB / 294.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.006035, allocations: 0 / 294.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.65e-05/0.006061, allocations: 11.94 kB / 294.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.006277, allocations: 168.3 kB / 294.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.006371, allocations: 34.56 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.006396, allocations: 12.8 kB / 294.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.00642, allocations: 7.938 kB / 294.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.006442, allocations: 34.56 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.006443, allocations: 0 / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.006918, allocations: 141.6 kB / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.006949, allocations: 55.41 kB / 294.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007063, allocations: 146.6 kB / 294.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.007076, allocations: 25.7 kB / 295 MB, free: 3.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.007118, allocations: 100.1 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.007145, allocations: 31.67 kB / 295.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.007196, allocations: 25.7 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.007287, allocations: 338.7 kB / 295.4 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.007318, allocations: 8 kB / 295.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.007366, allocations: 43.42 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.007427, allocations: 36.81 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.007428, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.007537, allocations: 65.89 kB / 295.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.007554, allocations: 8 kB / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.007559, allocations: 0 / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.007568, allocations: 0 / 295.6 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.007706, allocations: 28.34 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.00771, allocations: 8.031 kB / 295.6 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.129e-05/0.007771, allocations: 15.98 kB / 295.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.007782, allocations: 7.938 kB / 295.7 MB, free: 3.062 MB / 282.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.069e-05/0.007853, allocations: 116.6 kB / 295.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.007886, allocations: 11.98 kB / 295.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.008023, allocations: 82.34 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.008026, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008028, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008031, allocations: 0 / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.008359, allocations: 254.6 kB / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.008362, allocations: 0 / 296.1 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.008469, allocations: 31.98 kB / 296.1 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.008482, allocations: 3.953 kB / 296.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008485, allocations: 4 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.008492, allocations: 0 / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.008495, allocations: 3.938 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.008497, allocations: 0 / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.008627, allocations: 163.5 kB / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.008643, allocations: 0 / 296.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.008727, allocations: 15.98 kB / 296.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.008777, allocations: 19.86 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.008782, allocations: 0 / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.008831, allocations: 40.81 kB / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008831, allocations: 0 / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.009064, allocations: 43.88 kB / 296.4 MB, free: 2.227 MB / 282.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.001942/0.01101, allocations: 0.7054 MB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.01115, allocations: 36.86 kB / 297.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.01116, allocations: 3.984 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.0112, allocations: 32.78 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01143, allocations: 35.22 kB / 297.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/0.012, allocations: 203 kB / 297.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.01204, allocations: 67.2 kB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.0121, allocations: 24.41 kB / 297.5 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.01218, allocations: 75.34 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of SimCode: time 1.282e-06/0.01218, allocations: 0 / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Templates: time 0.004393/0.01657, allocations: 2.807 MB / 300.4 MB, free: 14.6 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.060984936542809]