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.001843/0.001843, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001935/0.001935, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3439/0.3439, allocations: 32.8 MB / 293.9 MB, free: 1.219 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.513e-06/1.513e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.28e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003437/0.00347, allocations: 1.701 MB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.00473, allocations: 0.5608 MB / 377.6 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.004788, allocations: 0 / 377.6 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.005025, allocations: 23.84 kB / 377.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.005363, allocations: 87.48 kB / 377.7 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.005688, allocations: 135.6 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.00588, allocations: 99.62 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.005968, allocations: 12 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.006089, allocations: 51.81 kB / 378 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.006189, allocations: 31.91 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.006213, allocations: 8 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.006398, allocations: 95.88 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.00647, allocations: 27.91 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.00651, allocations: 19.92 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.00683, allocations: 171.4 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006833, allocations: 0 / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006834, allocations: 0 / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.006838, allocations: 0 / 378.3 MB, free: 1.938 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.0007087/0.007547, allocations: 463.4 kB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.007588, allocations: 16.02 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.007646, allocations: 8.891 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.007879, allocations: 149 kB / 378.9 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.007894, allocations: 4.375 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.007915, allocations: 384 / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.008179, allocations: 119 kB / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008192, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.008202, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.008206, allocations: 0 / 379 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.008409, allocations: 51.89 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.008908, allocations: 303.8 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.009127, allocations: 70.91 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.009243, allocations: 35.8 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.00927, allocations: 4 kB / 379.5 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.009305, allocations: 37.38 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.009306, allocations: 0 / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001156/0.01046, allocations: 281.2 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.01053, allocations: 81.09 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.01077, allocations: 220.9 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.0108, allocations: 29.7 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.01115, allocations: 150.8 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.01119, allocations: 39.67 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.01125, allocations: 27.38 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002899/0.01154, allocations: 0.504 MB / 380.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.01172, allocations: 43.97 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01195, allocations: 101 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.0123, allocations: 99.62 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.0123, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000444/0.01274, allocations: 165.7 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01276, allocations: 4 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01276, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.01277, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.01295, allocations: 27.92 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.01295, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.01305, allocations: 15.92 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.01306, allocations: 4 kB / 381.3 MB, free: 14.69 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 0.0001404/0.0132, allocations: 168.6 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.01325, allocations: 11.95 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004817/0.01373, allocations: 154.3 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01373, allocations: 4 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01374, allocations: 384 / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01374, allocations: 3.938 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008046/0.01455, allocations: 453.3 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.01455, allocations: 4 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01468, allocations: 27.92 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01469, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.0147, allocations: 7.922 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01471, allocations: 0 / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01471, allocations: 0 / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01525, allocations: 299.8 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01528, allocations: 11.94 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.0153, allocations: 7.875 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.01543, allocations: 15.98 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.0155, allocations: 11.98 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01551, allocations: 4 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.01566, allocations: 163.2 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01566, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01598, allocations: 47.86 kB / 382.7 MB, free: 13.24 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.003416/0.01939, allocations: 0.5363 MB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.01988, allocations: 123.5 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01988, allocations: 0 / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.0201, allocations: 67.59 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.02045, allocations: 39.11 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.02101, allocations: 217.2 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.02112, allocations: 89.44 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.401e-05/0.0212, allocations: 16.48 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.02127, allocations: 20.48 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02127, allocations: 0 / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Templates: time 0.007074/0.02835, allocations: 2.65 MB / 386.4 MB, free: 9.676 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.100808455958031]