Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4161, allocations: 62.43 MB / 0.531 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003225/0.4194, allocations: 1.61 MB / 0.5326 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.4206, allocations: 0.5625 MB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.4207, allocations: 1.875 kB / 0.5331 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.4209, allocations: 19.8 kB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.4212, allocations: 87.08 kB / 0.5332 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.4215, allocations: 110.6 kB / 0.5333 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.4217, allocations: 68.77 kB / 0.5334 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4218, allocations: 10.88 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.4219, allocations: 34.78 kB / 0.5334 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.422, allocations: 37.47 kB / 0.5335 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.422, allocations: 4.125 kB / 0.5335 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.4222, allocations: 97.5 kB / 0.5336 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.4222, allocations: 18.66 kB / 0.5336 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.4223, allocations: 25.36 kB / 0.5336 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.4226, allocations: 145.2 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4226, allocations: 0 / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4226, allocations: 5.359 kB / 0.5338 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4226, allocations: 0 / 0.5338 GB, free: 11.75 MB / 398.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.0005522/0.4232, allocations: 403.1 kB / 0.5341 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4232, allocations: 13.62 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.4233, allocations: 11.53 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.4235, allocations: 193.8 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.4235, allocations: 1.75 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.4235, allocations: 3.125 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4237, allocations: 67.89 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4237, allocations: 3.984 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4237, allocations: 1.375 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4237, allocations: 4 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.4238, allocations: 27.05 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4243, allocations: 291 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.4244, allocations: 51.17 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.4245, allocations: 27.94 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4246, allocations: 0 / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4246, allocations: 35.88 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.4246, allocations: 0 / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007023/0.4253, allocations: 182.3 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.4254, allocations: 78.2 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.4256, allocations: 161.1 kB / 0.5352 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4256, allocations: 31.08 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.4257, allocations: 90.59 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.4257, allocations: 18.44 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.4257, allocations: 24.77 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4259, allocations: 321.3 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.426, allocations: 32.41 kB / 0.5357 GB, free: 9.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.66e-05/0.4261, allocations: 48.72 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4262, allocations: 64.55 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4263, allocations: 1.406 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000235/0.4265, allocations: 115.2 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4265, allocations: 4.625 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4265, allocations: 1.156 kB / 0.536 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4266, allocations: 4.031 kB / 0.536 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4267, allocations: 21.73 kB / 0.536 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4267, allocations: 1.156 kB / 0.536 GB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.4268, allocations: 7.344 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4268, allocations: 6.312 kB / 0.536 GB, free: 9.613 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 9.322e-05/0.4269, allocations: 122.2 kB / 0.5361 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4269, allocations: 12.34 kB / 0.5361 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.4272, allocations: 123.7 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4272, allocations: 1.125 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4272, allocations: 1.125 kB / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4273, allocations: 0 / 0.5362 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.4278, allocations: 398.9 kB / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4278, allocations: 0 / 0.5366 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.4279, allocations: 16.17 kB / 0.5366 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4279, allocations: 4 kB / 0.5366 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4279, allocations: 8.906 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4279, allocations: 1.125 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4279, allocations: 0 / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.4282, allocations: 195.1 kB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.4282, allocations: 82.2 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4282, allocations: 8.984 kB / 0.5369 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4283, allocations: 7.719 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.4284, allocations: 6.219 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4284, allocations: 6.203 kB / 0.537 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.886e-05/0.4285, allocations: 113.8 kB / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4285, allocations: 0 / 0.5371 GB, free: 8.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.4288, allocations: 42.77 kB / 0.5371 GB, free: 8.605 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 (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.001137/0.4299, allocations: 0.4927 MB / 0.5376 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.4302, allocations: 74.2 kB / 0.5377 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4302, allocations: 0 / 0.5377 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.4303, allocations: 33.38 kB / 0.5377 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.4307, allocations: 31.94 kB / 0.5377 GB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.4312, allocations: 185.4 kB / 0.5379 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4315, allocations: 0.696 MB / 0.5386 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.267e-05/0.4316, allocations: 25.52 kB / 0.5386 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.4317, allocations: 19.45 kB / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of SimCode: time 2.986e-06/0.4317, allocations: 0 / 0.5386 GB, free: 7.398 MB / 398.1 MB Notification: Performance of Templates: time 0.00544/0.4371, allocations: 1.967 MB / 0.5405 GB, free: 6.371 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches