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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001968/0.003247, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002415, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.027/1.027, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.188, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.1243/0.1243, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02089/0.1452, allocations: 12.54 MB / 284.5 MB, free: 9.711 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.913e-06/1.913e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.278e-05, allocations: 2.312 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003494/0.003517, allocations: 1.757 MB / 287.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.004369, allocations: 454.7 kB / 288.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.004431, allocations: 0 / 288.1 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001488/0.00458, allocations: 19.8 kB / 288.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.004747, allocations: 47.66 kB / 288.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.005092, allocations: 135.5 kB / 288.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.005275, allocations: 83.72 kB / 288.4 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.005371, allocations: 16.16 kB / 288.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.005525, allocations: 63.88 kB / 288.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.005615, allocations: 27.91 kB / 288.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.005643, allocations: 8 kB / 288.5 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.005823, allocations: 51.91 kB / 288.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.005899, allocations: 15.94 kB / 288.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.00593, allocations: 19.94 kB / 288.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.006186, allocations: 99.59 kB / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.0062, allocations: 0 / 288.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.006202, allocations: 3.938 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.006215, allocations: 0 / 288.7 MB, free: 5.586 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.0005764/0.006791, allocations: 324 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.00683, allocations: 8.031 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.006872, allocations: 4.938 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.00705, allocations: 133.6 kB / 289.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.007061, allocations: 4.375 kB / 289.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.007088, allocations: 8.375 kB / 289.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.007282, allocations: 110.3 kB / 289.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.007292, allocations: 192 / 289.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.007303, allocations: 8.125 kB / 289.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.00731, allocations: 0 / 289.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.007344, allocations: 4 kB / 289.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.007666, allocations: 176.2 kB / 289.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.007776, allocations: 34.55 kB / 289.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/0.0078, allocations: 12.86 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.007825, allocations: 4 kB / 289.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.007855, allocations: 42.67 kB / 289.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.007857, allocations: 0 / 289.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005393/0.008396, allocations: 149.4 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.00843, allocations: 51.41 kB / 289.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.008545, allocations: 143 kB / 289.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.00856, allocations: 25.7 kB / 289.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.008604, allocations: 96.11 kB / 290 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.008635, allocations: 35.67 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.008682, allocations: 25.7 kB / 290 MB, free: 4.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.008794, allocations: 314.8 kB / 290.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.008827, allocations: 11.98 kB / 290.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.008882, allocations: 55.34 kB / 290.4 MB, free: 3.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.008942, allocations: 32.83 kB / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008944, allocations: 0 / 290.4 MB, free: 3.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001174/0.009061, allocations: 69.83 kB / 290.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.009076, allocations: 4 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009082, allocations: 0 / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.009096, allocations: 4.031 kB / 290.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.009239, allocations: 31.98 kB / 290.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.009244, allocations: 3.984 kB / 290.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.009301, allocations: 8 kB / 290.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.009312, allocations: 7.984 kB / 290.6 MB, free: 3.5 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.48e-05/0.009387, allocations: 116.6 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.009421, allocations: 11.94 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.009561, allocations: 78.45 kB / 290.8 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009563, allocations: 4 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.009567, allocations: 7.984 kB / 290.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.00957, allocations: 0 / 290.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.009903, allocations: 246.6 kB / 291 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009905, allocations: 0 / 291 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.01002, allocations: 27.98 kB / 291 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.01003, allocations: 3.953 kB / 291 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.01003, allocations: 7.984 kB / 291 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.01004, allocations: 0 / 291 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01004, allocations: 0 / 291 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01005, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.01018, allocations: 167.4 kB / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.0102, allocations: 0 / 291.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.01029, allocations: 15.98 kB / 291.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.01034, allocations: 11.92 kB / 291.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01034, allocations: 4 kB / 291.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.161e-05/0.01038, allocations: 35.39 kB / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01038, allocations: 0 / 291.3 MB, free: 2.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000261/0.01065, allocations: 31.94 kB / 291.3 MB, free: 2.688 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.00192/0.01257, allocations: 0.6147 MB / 291.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.0127, allocations: 40.78 kB / 292 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.01271, allocations: 0 / 292 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.01277, allocations: 40.78 kB / 292 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01311, allocations: 148.6 kB / 292.2 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.01374, allocations: 214.4 kB / 292.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.01378, allocations: 67.34 kB / 292.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.01386, allocations: 16.47 kB / 292.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.01397, allocations: 71.36 kB / 292.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of SimCode: time 1.051e-06/0.01397, allocations: 0 / 292.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of Templates: time 0.004057/0.01803, allocations: 2.314 MB / 294.8 MB, free: 15.43 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8060843562707305]