Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009878/0.0009877, allocations: 95.86 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3762/0.3762, allocations: 44.12 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.00156, allocations: 55.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3045, allocations: 60.81 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002679/0.3072, allocations: 1.677 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3084, allocations: 1.044 MB / 0.5091 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.3085, allocations: 0 / 0.5091 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.3087, allocations: 17.03 kB / 0.5091 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3088, allocations: 41.59 kB / 0.5091 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3092, allocations: 158.4 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3094, allocations: 60 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.3095, allocations: 16.08 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.3095, allocations: 34.84 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3096, allocations: 23.75 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3097, allocations: 2.938 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.3098, allocations: 53.06 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.3098, allocations: 17.16 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.3099, allocations: 20.31 kB / 0.5095 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.31, allocations: 104.6 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3101, allocations: 1.625 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3101, allocations: 0 / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.3101, allocations: 0 / 0.5096 GB, free: 36.15 MB / 378.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.000391/0.3105, allocations: 394.4 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3105, allocations: 8.625 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3105, allocations: 10.34 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3107, allocations: 188.5 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.3107, allocations: 384 / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3107, allocations: 6.875 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3109, allocations: 85.83 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3109, allocations: 4 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3109, allocations: 0 / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3109, allocations: 0 / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.3111, allocations: 42.67 kB / 0.5103 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3114, allocations: 298.8 kB / 0.5106 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3115, allocations: 46.86 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.3116, allocations: 40.66 kB / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3116, allocations: 0 / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3116, allocations: 33.19 kB / 0.5107 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3117, allocations: 0 / 0.5107 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007002/0.3124, allocations: 217.9 kB / 0.5109 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3124, allocations: 77.11 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.3125, allocations: 145.5 kB / 0.5111 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.3125, allocations: 25.7 kB / 0.5111 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.842e-05/0.3125, allocations: 97.3 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.3126, allocations: 29.91 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3126, allocations: 19.38 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3127, allocations: 326.1 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3128, allocations: 37.84 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3129, allocations: 55.03 kB / 0.5117 GB, free: 34.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.3131, allocations: 91.7 kB / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3131, allocations: 0 / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002415/0.3134, allocations: 118.8 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3134, allocations: 5.594 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3134, allocations: 4.031 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3134, allocations: 0 / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3136, allocations: 17.81 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3136, allocations: 6.156 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.3136, allocations: 9.562 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3136, allocations: 3.234 kB / 0.5119 GB, free: 34.17 MB / 378.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 (7): * Single equations (assignments): 7 * 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.158e-05/0.3137, allocations: 126.9 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3137, allocations: 6.781 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.314, allocations: 144.5 kB / 0.5122 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3141, allocations: 0 / 0.5122 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3141, allocations: 0 / 0.5122 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3141, allocations: 3.938 kB / 0.5122 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3145, allocations: 410.2 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3145, allocations: 0 / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.528e-05/0.3146, allocations: 23.09 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3146, allocations: 0 / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3146, allocations: 3.938 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3146, allocations: 0 / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3146, allocations: 2.719 kB / 0.5126 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.3152, allocations: 0.8221 MB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.3152, allocations: 79.61 kB / 0.5135 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3152, allocations: 2.438 kB / 0.5135 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.3153, allocations: 8.781 kB / 0.5135 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.3154, allocations: 14.27 kB / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3154, allocations: 6.469 kB / 0.5135 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.007e-05/0.3154, allocations: 105.8 kB / 0.5136 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3154, allocations: 0 / 0.5136 GB, free: 32.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.3158, allocations: 27.88 kB / 0.5136 GB, free: 32.66 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0009117/0.3167, allocations: 448 kB / 0.5141 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3171, allocations: 87.73 kB / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3171, allocations: 0 / 0.5142 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3172, allocations: 49.3 kB / 0.5142 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.3176, allocations: 30.5 kB / 0.5142 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.3181, allocations: 351.7 kB / 0.5146 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3182, allocations: 0.7044 MB / 0.5152 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.3183, allocations: 21.69 kB / 0.5153 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.3183, allocations: 13.34 kB / 0.5153 GB, free: 31.39 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3184, allocations: 0 / 0.5153 GB, free: 31.39 MB / 378.7 MB Notification: Performance of Templates: time 0.003711/0.3221, allocations: 1.478 MB / 0.5167 GB, free: 31.22 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches