Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.000999/0.000999, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001147/0.001147, allocations: 172.2 kB / 24.91 MB, free: 8.766 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 0.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.445 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.2456/0.2456, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.914e-05, allocations: 3.188 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002139/0.002158, allocations: 1.733 MB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.002911, allocations: 0.5879 MB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.002966, allocations: 0 / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.003163, allocations: 35.7 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.003401, allocations: 91.5 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.003682, allocations: 175.5 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003823, allocations: 99.69 kB / 328 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.003896, allocations: 19.97 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.003975, allocations: 55.83 kB / 328 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.00404, allocations: 35.89 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.004054, allocations: 4 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.004178, allocations: 99.81 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.004227, allocations: 19.92 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.004255, allocations: 28.41 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.004448, allocations: 159.4 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004449, allocations: 0 / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.00445, allocations: 0 / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.004453, allocations: 0 / 328.4 MB, free: 4.492 MB / 298.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.0003532/0.004806, allocations: 337.5 kB / 328.7 MB, free: 4.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.004834, allocations: 8.031 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.004863, allocations: 8.922 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.005254, allocations: 149.1 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005263, allocations: 384 / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.005285, allocations: 4.375 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.005432, allocations: 110.1 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.005441, allocations: 0 / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.005448, allocations: 4 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.005453, allocations: 0 / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.00548, allocations: 12 kB / 329 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.005752, allocations: 195 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.00583, allocations: 33.47 kB / 329.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.00585, allocations: 16.84 kB / 329.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.005865, allocations: 3.938 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.005891, allocations: 34.69 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.005892, allocations: 0 / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003685/0.006261, allocations: 153.3 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.006295, allocations: 77.11 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.006387, allocations: 154.6 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.0064, allocations: 25.7 kB / 329.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.006431, allocations: 92.11 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.006454, allocations: 31.73 kB / 329.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.006519, allocations: 25.7 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.0066, allocations: 330.7 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.006618, allocations: 4 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.006658, allocations: 59.34 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.006704, allocations: 35.89 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006705, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.49e-05/0.00678, allocations: 65.59 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.006791, allocations: 11.94 kB / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006795, allocations: 0 / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.006806, allocations: 0 / 330.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.006894, allocations: 31.97 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006896, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.006937, allocations: 11.98 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.006945, allocations: 8.031 kB / 330.4 MB, free: 2.312 MB / 298.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.659e-05/0.007011, allocations: 116.6 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.007032, allocations: 11.98 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.007138, allocations: 74.38 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.007142, allocations: 4 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007144, allocations: 384 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007147, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.007424, allocations: 302.5 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007426, allocations: 4 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.007483, allocations: 31.92 kB / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007485, allocations: 0 / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.00749, allocations: 0 / 330.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.007493, allocations: 3.984 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007493, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.621e-05/0.00759, allocations: 163.4 kB / 331.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.0076, allocations: 7.953 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.007612, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.302e-05/0.007665, allocations: 15.98 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.0077, allocations: 7.984 kB / 331.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.007706, allocations: 11.98 kB / 331.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.007737, allocations: 36.69 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007738, allocations: 0 / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007909, allocations: 59.8 kB / 331.2 MB, free: 1.422 MB / 298.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.001355/0.009264, allocations: 0.6385 MB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.009423, allocations: 40.78 kB / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.009429, allocations: 0 / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.009465, allocations: 32.77 kB / 331.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.009666, allocations: 23.98 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.01003, allocations: 215.3 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.01007, allocations: 67.34 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.01012, allocations: 20.47 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.0102, allocations: 75.36 kB / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0102, allocations: 0 / 332.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of Templates: time 0.004244/0.01445, allocations: 2.809 MB / 335.1 MB, free: 13.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.0567772765643895]