Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009698, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001017/0.001017, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.225/1.225, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1951/0.1951, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3097, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.00263/0.3124, allocations: 1.567 MB / 0.5204 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006668/0.3131, allocations: 410.7 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.3131, allocations: 0 / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.3133, allocations: 25.67 kB / 0.5209 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.3135, allocations: 43.92 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.3138, allocations: 103.4 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3139, allocations: 58.58 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.314, allocations: 17.83 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.3141, allocations: 18.31 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.3142, allocations: 20.52 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3142, allocations: 2.406 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.3143, allocations: 33.25 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.3143, allocations: 14.27 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.3143, allocations: 18.34 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.3145, allocations: 77.8 kB / 0.5212 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3145, allocations: 5.094 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3145, allocations: 0 / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3145, allocations: 0.7969 kB / 0.5213 GB, free: 2.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003316/0.3149, allocations: 380.5 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3149, allocations: 8.75 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3149, allocations: 4.859 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3151, allocations: 191.3 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-06/0.3151, allocations: 1.406 kB / 0.5218 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3151, allocations: 6.281 kB / 0.5218 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.3152, allocations: 58.61 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3152, allocations: 0 / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3153, allocations: 1.031 kB / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3153, allocations: 0 / 0.5219 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.71e-05/0.3154, allocations: 23.36 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.3157, allocations: 276.9 kB / 0.5222 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3159, allocations: 54.88 kB / 0.5222 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.849e-05/0.3159, allocations: 14.66 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.316, allocations: 0 / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.316, allocations: 37.17 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.316, allocations: 0 / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005246/0.3165, allocations: 150.7 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3166, allocations: 57.33 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3167, allocations: 155 kB / 0.5226 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.3167, allocations: 25.7 kB / 0.5226 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.3167, allocations: 101.7 kB / 0.5227 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3168, allocations: 15.5 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3168, allocations: 15.45 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.3169, allocations: 327.6 kB / 0.5231 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.3169, allocations: 20.97 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.317, allocations: 20.59 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3171, allocations: 52.47 kB / 0.5232 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3171, allocations: 3.938 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.3173, allocations: 89.17 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3173, allocations: 8.75 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3173, allocations: 1.797 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3174, allocations: 288 / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.3174, allocations: 12.55 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3174, allocations: 0.6562 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.3175, allocations: 4.484 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3175, allocations: 6.797 kB / 0.5233 GB, free: 220 kB / 382.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 (5): * Single equations (assignments): 5 * 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 5.795e-05/0.3176, allocations: 117.5 kB / 0.5234 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.3176, allocations: 15.36 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3178, allocations: 106.2 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3178, allocations: 1.375 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3179, allocations: 0.8438 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3179, allocations: 0 / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.3183, allocations: 349.6 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3183, allocations: 2.797 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.83e-05/0.3184, allocations: 26.17 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3184, allocations: 1.469 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3184, allocations: 0.75 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.3184, allocations: 5.375 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3184, allocations: 0 / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.3186, allocations: 178.2 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.3187, allocations: 87.39 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3187, allocations: 1 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3188, allocations: 15.88 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3188, allocations: 5.078 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3188, allocations: 1.531 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.3189, allocations: 116.8 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.319, allocations: 0.9375 kB / 0.5243 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3192, allocations: 19.84 kB / 0.5243 GB, free: 15.32 MB / 398.1 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 (5): * Single equations (assignments): 5 * 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.0008525/0.3201, allocations: 408.2 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.3203, allocations: 52.38 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3203, allocations: 0 / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.3204, allocations: 26.28 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3207, allocations: 21.92 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.3211, allocations: 185.1 kB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3214, allocations: 0.6998 MB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.3214, allocations: 11.31 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3215, allocations: 12.62 kB / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3215, allocations: 0 / 0.5257 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.00329/0.3248, allocations: 1.126 MB / 0.5268 GB, free: 14.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches