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.00146/0.00146, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 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.2078/0.2078, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 67.89 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3033, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002749/0.3061, allocations: 1.62 MB / 0.5333 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3071, allocations: 0.5516 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.3072, allocations: 1.344 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.3075, allocations: 115.9 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3078, allocations: 129.8 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.3081, allocations: 122.9 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3083, allocations: 92.27 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.3084, allocations: 21.56 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.3085, allocations: 50.41 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3087, allocations: 85.36 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3087, allocations: 3.688 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.3088, allocations: 44.89 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.3089, allocations: 32.22 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.3089, allocations: 38.55 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.3091, allocations: 123.6 kB / 0.5346 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3091, allocations: 0 / 0.5346 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3091, allocations: 0 / 0.5346 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3091, allocations: 1.375 kB / 0.5346 GB, free: 11.42 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.0005279/0.3097, allocations: 442.7 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.3097, allocations: 9.625 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.3097, allocations: 14.25 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3099, allocations: 210.9 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3099, allocations: 1.75 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.31, allocations: 7.125 kB / 0.5353 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3101, allocations: 54.17 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3101, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.3102, allocations: 4 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.3102, allocations: 1.375 kB / 0.5353 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3103, allocations: 35.03 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3107, allocations: 312.5 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3108, allocations: 40.44 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.3109, allocations: 25.19 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.3109, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.311, allocations: 35.88 kB / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.311, allocations: 0 / 0.5358 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009577/0.3119, allocations: 247.9 kB / 0.536 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.312, allocations: 52.53 kB / 0.5361 GB, free: 10.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.3123, allocations: 283.2 kB / 0.5363 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3123, allocations: 30.83 kB / 0.5364 GB, free: 9.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.3124, allocations: 111.3 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3124, allocations: 27.34 kB / 0.5365 GB, free: 9.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3125, allocations: 24.45 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3126, allocations: 330.6 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.3127, allocations: 28.7 kB / 0.5369 GB, free: 9.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.3128, allocations: 36.97 kB / 0.5369 GB, free: 9.324 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3129, allocations: 81.62 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.313, allocations: 1.062 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002602/0.3132, allocations: 110.5 kB / 0.5371 GB, free: 9.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3133, allocations: 12.56 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3133, allocations: 0 / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3133, allocations: 1 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.3134, allocations: 17.64 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3134, allocations: 1.125 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.3134, allocations: 15.31 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.3135, allocations: 2.25 kB / 0.5371 GB, free: 9.188 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.0001047/0.3136, allocations: 137.3 kB / 0.5372 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3136, allocations: 18.75 kB / 0.5373 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.314, allocations: 128.5 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.314, allocations: 1.156 kB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.314, allocations: 5.109 kB / 0.5374 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.314, allocations: 3.938 kB / 0.5374 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.3145, allocations: 425.2 kB / 0.5378 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3146, allocations: 8.016 kB / 0.5378 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3147, allocations: 22.08 kB / 0.5378 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3147, allocations: 5.094 kB / 0.5378 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-06/0.3147, allocations: 1.156 kB / 0.5378 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3147, allocations: 4.938 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3147, allocations: 1.156 kB / 0.5378 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.315, allocations: 221.6 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3151, allocations: 92.02 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3151, allocations: 2.094 kB / 0.5381 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3152, allocations: 7.484 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3152, allocations: 7.688 kB / 0.5382 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3152, allocations: 1.406 kB / 0.5382 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.3154, allocations: 208.9 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3154, allocations: 1.062 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3157, allocations: 23.19 kB / 0.5384 GB, free: 8.105 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.001036/0.3167, allocations: 453.1 kB / 0.5388 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.317, allocations: 83.66 kB / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.317, allocations: 0 / 0.5389 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3171, allocations: 44.53 kB / 0.5389 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.3175, allocations: 28.11 kB / 0.539 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.3181, allocations: 345.7 kB / 0.5393 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3184, allocations: 0.7185 MB / 0.54 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.3184, allocations: 14.16 kB / 0.54 GB, free: 6.82 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3184, allocations: 0 / 0.54 GB, free: 6.82 MB / 398.1 MB Notification: Performance of Templates: time 0.003799/0.3222, allocations: 1.962 MB / 0.5419 GB, free: 5.801 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches