Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001056/0.001056, allocations: 187 kB / 18.71 MB, free: 4.344 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.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2235/0.2235, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3763, allocations: 60.83 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002586/0.3789, allocations: 1.584 MB / 0.5205 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007017/0.3797, allocations: 423 kB / 0.5209 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.3797, allocations: 1.375 kB / 0.5209 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.38, allocations: 76.12 kB / 0.521 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3802, allocations: 60.5 kB / 0.521 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3805, allocations: 115.4 kB / 0.5211 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3807, allocations: 69.28 kB / 0.5212 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3808, allocations: 20.08 kB / 0.5212 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.3809, allocations: 37.92 kB / 0.5212 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.381, allocations: 54.11 kB / 0.5213 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3811, allocations: 2.688 kB / 0.5213 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.3812, allocations: 39.8 kB / 0.5213 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.3812, allocations: 23.12 kB / 0.5214 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.3813, allocations: 30.59 kB / 0.5214 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.3814, allocations: 100.2 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3815, allocations: 0 / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3815, allocations: 0 / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.3815, allocations: 1.188 kB / 0.5215 GB, free: 2.258 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.0003939/0.3819, allocations: 412.8 kB / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3819, allocations: 10.39 kB / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.382, allocations: 9.344 kB / 0.5219 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3821, allocations: 197.4 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.3821, allocations: 2.625 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3822, allocations: 2.625 kB / 0.5221 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3823, allocations: 56.81 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3823, allocations: 2.047 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3823, allocations: 0 / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3823, allocations: 1.438 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3824, allocations: 30.38 kB / 0.5222 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3828, allocations: 304.1 kB / 0.5225 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.3829, allocations: 49.67 kB / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.383, allocations: 18.55 kB / 0.5225 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.383, allocations: 5.766 kB / 0.5225 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.383, allocations: 31.59 kB / 0.5226 GB, free: 1.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.383, allocations: 7.938 kB / 0.5226 GB, free: 1.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000853/0.3839, allocations: 234.9 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3839, allocations: 52.56 kB / 0.5228 GB, free: 1.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3841, allocations: 211 kB / 0.523 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.3841, allocations: 30.89 kB / 0.5231 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.3842, allocations: 111.9 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.3842, allocations: 25.45 kB / 0.5232 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3843, allocations: 20.94 kB / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.3843, allocations: 321.9 kB / 0.5235 GB, free: 408 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.3844, allocations: 30.53 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.269e-05/0.3845, allocations: 31.95 kB / 0.5236 GB, free: 392 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3846, allocations: 82.17 kB / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3847, allocations: 0 / 0.5237 GB, free: 352 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002152/0.3849, allocations: 109.6 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3849, allocations: 4.781 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3849, allocations: 1.062 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3849, allocations: 0.6562 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3851, allocations: 16.8 kB / 0.5238 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3851, allocations: 9.812 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.3851, allocations: 9.031 kB / 0.5238 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.3851, allocations: 1.609 kB / 0.5238 GB, free: 284 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 (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 7.262e-05/0.3852, allocations: 128.3 kB / 0.5239 GB, free: 160 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3853, allocations: 8.531 kB / 0.5239 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.3855, allocations: 131.5 kB / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3856, allocations: 1.859 kB / 0.5241 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3856, allocations: 7.938 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3856, allocations: 1.688 kB / 0.5241 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.3861, allocations: 419.4 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3861, allocations: 1.438 kB / 0.5245 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-05/0.3862, allocations: 20.91 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3862, allocations: 0.5625 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3862, allocations: 5.5 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3863, allocations: 5.984 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3863, allocations: 1.375 kB / 0.5245 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3865, allocations: 209.6 kB / 0.5247 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.3866, allocations: 88.45 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3866, allocations: 5.531 kB / 0.5248 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.3867, allocations: 8.953 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.3868, allocations: 6.469 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3868, allocations: 3.047 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3869, allocations: 158.5 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3869, allocations: 1.75 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.3872, allocations: 27.78 kB / 0.525 GB, free: 15.32 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.001014/0.3882, allocations: 448.9 kB / 0.5254 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3885, allocations: 74.8 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3885, allocations: 0 / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3886, allocations: 43.12 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.389, allocations: 21.86 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.3895, allocations: 255.8 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3898, allocations: 0.714 MB / 0.5265 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.945e-05/0.3899, allocations: 24.16 kB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.3899, allocations: 13.83 kB / 0.5265 GB, free: 14.17 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3899, allocations: 0 / 0.5265 GB, free: 14.17 MB / 398.1 MB Notification: Performance of Templates: time 0.004236/0.3942, allocations: 1.392 MB / 0.5279 GB, free: 13.71 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches