Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001647/0.001647, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 76.09 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3787, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.003597/0.3823, allocations: 1.617 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3835, allocations: 0.552 MB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.3836, allocations: 2.094 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.3839, allocations: 122.3 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3843, allocations: 127.3 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3846, allocations: 115.1 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3848, allocations: 96.92 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3849, allocations: 17.61 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.385, allocations: 53.31 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3851, allocations: 82.75 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3852, allocations: 8.125 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.489e-05/0.3853, allocations: 40.66 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.3853, allocations: 34.78 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.3854, allocations: 38.55 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3856, allocations: 123.6 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3856, allocations: 1.375 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3856, allocations: 0 / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3857, allocations: 0 / 0.534 GB, free: 11.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006464/0.3863, allocations: 434.8 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3864, allocations: 17.56 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.3864, allocations: 15.62 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3867, allocations: 209.5 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3867, allocations: 1.75 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3867, allocations: 7.125 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3869, allocations: 55.55 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3869, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.387, allocations: 1.375 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.387, allocations: 0 / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3871, allocations: 36.41 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.3876, allocations: 312.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3877, allocations: 39.06 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.3878, allocations: 21.19 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3878, allocations: 5.312 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3878, allocations: 35.94 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3879, allocations: 0 / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009528/0.3888, allocations: 252 kB / 0.5353 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.3889, allocations: 56.48 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3892, allocations: 282.8 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3892, allocations: 30.73 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.3893, allocations: 111.4 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.3894, allocations: 31.45 kB / 0.5358 GB, free: 9.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3894, allocations: 19.75 kB / 0.5358 GB, free: 9.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3896, allocations: 323.2 kB / 0.5362 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.3897, allocations: 32.53 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.3898, allocations: 33.11 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3899, allocations: 81.88 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.39, allocations: 0 / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002377/0.3902, allocations: 110.2 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3902, allocations: 5.312 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3902, allocations: 1.062 kB / 0.5364 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3903, allocations: 3.938 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3904, allocations: 26.61 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3904, allocations: 0 / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.3904, allocations: 19.27 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3905, allocations: 6.281 kB / 0.5365 GB, free: 9.191 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.0001224/0.3906, allocations: 138.7 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.3906, allocations: 9.812 kB / 0.5366 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3909, allocations: 136.4 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.391, allocations: 1.531 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.391, allocations: 0 / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.391, allocations: 5.312 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.3916, allocations: 423.8 kB / 0.5371 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3916, allocations: 0 / 0.5371 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.3917, allocations: 22.64 kB / 0.5372 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3917, allocations: 8.75 kB / 0.5372 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3917, allocations: 5.094 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3917, allocations: 1.062 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3917, allocations: 0.9688 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.392, allocations: 214.2 kB / 0.5374 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.3921, allocations: 92.77 kB / 0.5375 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3921, allocations: 5.469 kB / 0.5375 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.3922, allocations: 6.766 kB / 0.5375 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3922, allocations: 7.062 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3922, allocations: 3.25 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.3925, allocations: 208.1 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.3925, allocations: 1.25 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3928, allocations: 22.47 kB / 0.5377 GB, free: 8.121 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.001099/0.3939, allocations: 458.5 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3941, allocations: 76.14 kB / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3941, allocations: 0 / 0.5382 GB, free: 7.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3943, allocations: 47.53 kB / 0.5383 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3946, allocations: 26.7 kB / 0.5383 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.3953, allocations: 308.7 kB / 0.5386 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.3956, allocations: 0.7287 MB / 0.5393 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.3956, allocations: 20.06 kB / 0.5393 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.3957, allocations: 18 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of SimCode: time 2.024e-06/0.3957, allocations: 0 / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of Templates: time 0.004507/0.4002, allocations: 1.431 MB / 0.5407 GB, free: 6.129 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches