Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json 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/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/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 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 105.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1912/0.1912, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3256, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002435/0.3281, allocations: 1.584 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006409/0.3287, allocations: 418.4 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.3288, allocations: 5.281 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3291, allocations: 117.4 kB / 0.521 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3293, allocations: 85.5 kB / 0.5211 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3296, allocations: 115.4 kB / 0.5212 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3298, allocations: 87.17 kB / 0.5213 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.3299, allocations: 16.53 kB / 0.5213 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.3299, allocations: 47.2 kB / 0.5213 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.33, allocations: 84.3 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3301, allocations: 2.656 kB / 0.5214 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.3302, allocations: 52.09 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.3302, allocations: 22.66 kB / 0.5215 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3303, allocations: 35.97 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3304, allocations: 117 kB / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3305, allocations: 0 / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3305, allocations: 0 / 0.5216 GB, free: 1.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3305, allocations: 1.062 kB / 0.5216 GB, free: 1.977 MB / 382.1 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.0003786/0.3309, allocations: 435.4 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.3309, allocations: 13.09 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3309, allocations: 15.5 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3311, allocations: 209 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3311, allocations: 1.594 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.3311, allocations: 6.266 kB / 0.5223 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3312, allocations: 57.34 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3313, allocations: 2.141 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3313, allocations: 0 / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3313, allocations: 1.438 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.3314, allocations: 29.36 kB / 0.5224 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.3317, allocations: 310.9 kB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.3318, allocations: 49.55 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.3318, allocations: 18.97 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3319, allocations: 9.188 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.299e-05/0.3319, allocations: 32.27 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3319, allocations: 0 / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007972/0.3327, allocations: 249.5 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.853e-05/0.3327, allocations: 60.84 kB / 0.5231 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3329, allocations: 272.7 kB / 0.5233 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.3329, allocations: 25.7 kB / 0.5233 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.333, allocations: 111.8 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.333, allocations: 29.38 kB / 0.5235 GB, free: 404 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3331, allocations: 21.03 kB / 0.5235 GB, free: 384 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.3331, allocations: 324.1 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3332, allocations: 34.36 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.3333, allocations: 30.81 kB / 0.5239 GB, free: 40 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3335, allocations: 76.06 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3335, allocations: 0 / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002317/0.3337, allocations: 119 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3337, allocations: 4.656 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3337, allocations: 1.094 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.3338, allocations: 4.984 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.3339, allocations: 16.77 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3339, allocations: 5.344 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.3339, allocations: 8.641 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.3339, allocations: 1.828 kB / 0.5241 GB, free: 15.93 MB / 398.1 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 (8): * Single equations (assignments): 8 * 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.0001001/0.334, allocations: 134.9 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3341, allocations: 15.14 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3344, allocations: 133.2 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3344, allocations: 1.781 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3344, allocations: 3.938 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3344, allocations: 1.75 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005427/0.3349, allocations: 431 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.335, allocations: 5.75 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.335, allocations: 24.72 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.335, allocations: 0 / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.335, allocations: 2.188 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3351, allocations: 1.188 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3351, allocations: 1.5 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3353, allocations: 215 kB / 0.525 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3354, allocations: 100.7 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3354, allocations: 5.438 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.3355, allocations: 5.734 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3355, allocations: 6.5 kB / 0.5251 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.3355, allocations: 5.531 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3357, allocations: 205.3 kB / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3357, allocations: 0 / 0.5253 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.336, allocations: 23.38 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009294/0.3369, allocations: 469.8 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3371, allocations: 71.73 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3371, allocations: 4 kB / 0.5259 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.3372, allocations: 43.34 kB / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3376, allocations: 25.33 kB / 0.5259 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.338, allocations: 297.8 kB / 0.5262 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3383, allocations: 0.7271 MB / 0.5269 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.3384, allocations: 16.78 kB / 0.527 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3384, allocations: 13.59 kB / 0.527 GB, free: 13.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3384, allocations: 0 / 0.527 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003674/0.3421, allocations: 1.405 MB / 0.5283 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches