Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001508/0.001508, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001951/0.001951, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.205/0.205, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 75.88 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3005, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003175/0.3037, allocations: 1.653 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3048, allocations: 0.55 MB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.3048, allocations: 1.125 kB / 0.5338 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.3051, allocations: 98.3 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.3055, allocations: 110.5 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.3058, allocations: 99.69 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.306, allocations: 94.38 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3062, allocations: 30.97 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.3062, allocations: 43.09 kB / 0.5343 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3064, allocations: 60.69 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.3064, allocations: 5.5 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.3065, allocations: 42.23 kB / 0.5344 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.3066, allocations: 29.53 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.3066, allocations: 39.94 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3069, allocations: 134.1 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3069, allocations: 0 / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3069, allocations: 0 / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.3069, allocations: 1.375 kB / 0.5346 GB, free: 11.44 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005183/0.3074, allocations: 427 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3075, allocations: 13.61 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3075, allocations: 15.62 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.3077, allocations: 217.6 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.3077, allocations: 1.75 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3078, allocations: 8.5 kB / 0.5352 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.308, allocations: 76.92 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.308, allocations: 1.375 kB / 0.5353 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.308, allocations: 4 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.308, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3082, allocations: 39.11 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.3086, allocations: 331.9 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3087, allocations: 66.42 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.3088, allocations: 19.23 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3088, allocations: 5.359 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3089, allocations: 35.69 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3089, allocations: 3.938 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001128/0.31, allocations: 305 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3101, allocations: 52.59 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3103, allocations: 242.1 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3104, allocations: 30.97 kB / 0.5364 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.141e-05/0.3104, allocations: 122.2 kB / 0.5365 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3105, allocations: 37.02 kB / 0.5366 GB, free: 9.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.3105, allocations: 25.88 kB / 0.5366 GB, free: 9.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3106, allocations: 331.3 kB / 0.5369 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3107, allocations: 36.53 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.422e-05/0.3108, allocations: 32.45 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.3111, allocations: 94.95 kB / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3111, allocations: 4 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002743/0.3114, allocations: 146.8 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3114, allocations: 4.781 kB / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3114, allocations: 0 / 0.5372 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3114, allocations: 5.25 kB / 0.5372 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3115, allocations: 25.39 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3116, allocations: 0.7031 kB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3116, allocations: 7.875 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3116, allocations: 11.77 kB / 0.5372 GB, free: 9.117 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 (13): * Single equations (assignments): 13 * 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.0001052/0.3118, allocations: 130.7 kB / 0.5374 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.3118, allocations: 14.5 kB / 0.5374 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.3122, allocations: 167.4 kB / 0.5375 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3122, allocations: 5.312 kB / 0.5375 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3122, allocations: 0 / 0.5375 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3122, allocations: 5.312 kB / 0.5376 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.3128, allocations: 486.6 kB / 0.538 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3129, allocations: 0 / 0.538 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.313, allocations: 28.81 kB / 0.538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.313, allocations: 1.188 kB / 0.538 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.313, allocations: 5.938 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.313, allocations: 1.125 kB / 0.5381 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.313, allocations: 4.031 kB / 0.5381 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3134, allocations: 239.2 kB / 0.5383 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.3134, allocations: 93.22 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3134, allocations: 1.156 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.3135, allocations: 3.188 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.3136, allocations: 17.45 kB / 0.5384 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3136, allocations: 3.031 kB / 0.5384 GB, free: 8.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3137, allocations: 183.8 kB / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3138, allocations: 0 / 0.5386 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.3141, allocations: 25.88 kB / 0.5386 GB, free: 7.984 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 (13): * Single equations (assignments): 13 * 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.001042/0.3151, allocations: 449.2 kB / 0.539 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3154, allocations: 96.7 kB / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3154, allocations: 0 / 0.5391 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3156, allocations: 52.62 kB / 0.5392 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3159, allocations: 38.55 kB / 0.5392 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3166, allocations: 344.7 kB / 0.5395 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3169, allocations: 0.7131 MB / 0.5402 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3169, allocations: 25.95 kB / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of SimCode: time 2.535e-06/0.3169, allocations: 0 / 0.5403 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Templates: time 0.004448/0.3214, allocations: 2.072 MB / 0.5423 GB, free: 5.605 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches