Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 210.7 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.458/1.458, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3005, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002943/0.3034, allocations: 1.626 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.3053, allocations: 1.169 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.3053, allocations: 0 / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3055, allocations: 29.36 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3059, allocations: 85.73 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3062, allocations: 111.4 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3064, allocations: 83.38 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3065, allocations: 22.98 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.3066, allocations: 26.92 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3068, allocations: 37.59 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3068, allocations: 4.125 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.307, allocations: 104.1 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.307, allocations: 17.42 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3071, allocations: 26.69 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3073, allocations: 153.8 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3074, allocations: 1.156 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3074, allocations: 4 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3074, allocations: 0 / 0.5351 GB, free: 10.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005088/0.3079, allocations: 413.1 kB / 0.5355 GB, free: 10.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3079, allocations: 13.42 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.308, allocations: 9 kB / 0.5355 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3082, allocations: 199.1 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3082, allocations: 5.906 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3083, allocations: 4.062 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3085, allocations: 87.8 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.3085, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3085, allocations: 1.594 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3085, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.3087, allocations: 44.23 kB / 0.5358 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.3091, allocations: 310 kB / 0.5361 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3093, allocations: 57.55 kB / 0.5362 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.3093, allocations: 19.23 kB / 0.5362 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3094, allocations: 9.016 kB / 0.5362 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3094, allocations: 31.69 kB / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3094, allocations: 0 / 0.5362 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007157/0.3101, allocations: 206 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.3102, allocations: 78.3 kB / 0.5365 GB, free: 9.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3104, allocations: 159.2 kB / 0.5367 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3104, allocations: 30.86 kB / 0.5367 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.3105, allocations: 95.69 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.3105, allocations: 26.75 kB / 0.5368 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.3106, allocations: 24.67 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3107, allocations: 325.1 kB / 0.5371 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.3108, allocations: 27.8 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.3109, allocations: 45.69 kB / 0.5372 GB, free: 8.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.3111, allocations: 64.73 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3111, allocations: 0 / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000273/0.3114, allocations: 115.8 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.3114, allocations: 13.48 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3114, allocations: 0 / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3115, allocations: 1.219 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3116, allocations: 18.39 kB / 0.5374 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3116, allocations: 3.938 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3116, allocations: 3.75 kB / 0.5374 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3117, allocations: 2.656 kB / 0.5374 GB, free: 8.789 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.024e-05/0.3117, allocations: 127.3 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3118, allocations: 7.438 kB / 0.5375 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.3121, allocations: 131.9 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3121, allocations: 1.375 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3122, allocations: 5.25 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3122, allocations: 0 / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.3127, allocations: 399.8 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3127, allocations: 5.531 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.3128, allocations: 17 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.3128, allocations: 5.188 kB / 0.5381 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3128, allocations: 7.984 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3128, allocations: 0.9375 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3128, allocations: 1.25 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.3131, allocations: 202.8 kB / 0.5383 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.3132, allocations: 95.28 kB / 0.5384 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.3133, allocations: 5 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.3134, allocations: 3.375 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.3134, allocations: 7.422 kB / 0.5384 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.3134, allocations: 6.156 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.3135, allocations: 117.9 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3135, allocations: 1.094 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3138, allocations: 38.86 kB / 0.5385 GB, free: 7.77 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 (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.001163/0.315, allocations: 0.4943 MB / 0.539 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3153, allocations: 67.11 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3153, allocations: 0 / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.3154, allocations: 44.91 kB / 0.5391 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3157, allocations: 17.31 kB / 0.5392 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005164/0.3162, allocations: 236.2 kB / 0.5394 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.3165, allocations: 0.6979 MB / 0.5401 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.3166, allocations: 24.58 kB / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3166, allocations: 3.938 kB / 0.5401 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.004422/0.321, allocations: 2.16 MB / 0.5422 GB, free: 5.414 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches