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.00145/0.00145, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001592/0.001592, allocations: 161 kB / 24.55 MB, free: 12 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 0.9926/0.9926, allocations: 177.1 MB / 205 MB, free: 5.598 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.2445/0.2445, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.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.353e-06/1.353e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.551e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002672/0.002697, allocations: 1.747 MB / 377.8 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.003549, allocations: 0.5608 MB / 378.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.003615, allocations: 4 kB / 378.4 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.003847, allocations: 19.84 kB / 378.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.004182, allocations: 79.56 kB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.004495, allocations: 139.4 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.004659, allocations: 95.7 kB / 378.7 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.891e-05/0.004758, allocations: 15.97 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.004847, allocations: 51.84 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.004921, allocations: 35.88 kB / 378.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.004938, allocations: 4 kB / 378.8 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.005126, allocations: 95.88 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.005191, allocations: 19.92 kB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.005222, allocations: 27.91 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.00548, allocations: 147.5 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.005485, allocations: 7.938 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.005487, allocations: 4 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.005492, allocations: 0 / 379.1 MB, free: 1.59 MB / 346.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.0004896/0.005982, allocations: 455.8 kB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.006023, allocations: 12.03 kB / 379.5 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.006077, allocations: 8.891 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.006241, allocations: 144.9 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.006252, allocations: 8.375 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.006275, allocations: 384 / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.006448, allocations: 115.8 kB / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006458, allocations: 0 / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006469, allocations: 8 kB / 379.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.006477, allocations: 3.984 kB / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.006517, allocations: 8 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.006869, allocations: 303.6 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.006977, allocations: 54.97 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.007005, allocations: 11.69 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.007024, allocations: 4 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.007047, allocations: 37.45 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.007048, allocations: 7.938 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004868/0.007535, allocations: 161.3 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.007573, allocations: 85.11 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.007708, allocations: 204.9 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.00772, allocations: 29.7 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.007773, allocations: 150.8 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.007796, allocations: 27.75 kB / 380.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.007834, allocations: 27.36 kB / 380.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.007944, allocations: 0.4962 MB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.007976, allocations: 12 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.008027, allocations: 65 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.008085, allocations: 31.69 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008086, allocations: 4 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001117/0.008198, allocations: 89.8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.00821, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.008214, allocations: 0 / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.008228, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.008327, allocations: 23.98 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.008332, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.401e-05/0.008376, allocations: 19.95 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008384, allocations: 4 kB / 381.7 MB, free: 14.77 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 6.455e-05/0.008448, allocations: 160.5 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.008472, allocations: 16.33 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.008606, allocations: 90.41 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008608, allocations: 4 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.008612, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.008616, allocations: 11.92 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.008899, allocations: 365.4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.0089, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.008962, allocations: 23.98 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.008964, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.008973, allocations: 11.94 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008975, allocations: 3.938 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008976, allocations: 0 / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.009106, allocations: 227.8 kB / 382.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.009117, allocations: 7.953 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.009133, allocations: 7.938 kB / 382.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.604e-05/0.009189, allocations: 15.98 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.009237, allocations: 15.92 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.009242, allocations: 0 / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.332e-05/0.009305, allocations: 155.2 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009305, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.009503, allocations: 47.86 kB / 382.8 MB, free: 13.54 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.0009779/0.01048, allocations: 499.7 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01062, allocations: 51.61 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01062, allocations: 0 / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.01067, allocations: 35.61 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01089, allocations: 31.06 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.01125, allocations: 221.1 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.01129, allocations: 63.34 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.01134, allocations: 16.47 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.01139, allocations: 24.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01139, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.004572/0.01596, allocations: 2.915 MB / 386.6 MB, free: 9.855 MB / 362.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 -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.1142844101414084]