Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001551/0.001551, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2055/0.2055, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 79.86 kB / 482 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003026/0.3033, allocations: 1.671 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3049, allocations: 1.191 MB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.305, allocations: 1.375 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.3052, allocations: 23.98 kB / 0.5345 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.3055, allocations: 97.66 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.3059, allocations: 172.5 kB / 0.5347 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3061, allocations: 79.38 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3062, allocations: 21.61 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.3063, allocations: 36.17 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3064, allocations: 40.2 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3065, allocations: 4.125 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.3066, allocations: 101.5 kB / 0.535 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.3067, allocations: 18.61 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3067, allocations: 29.22 kB / 0.5351 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.307, allocations: 148.9 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.307, allocations: 0.9688 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.307, allocations: 0 / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.307, allocations: 0 / 0.5352 GB, free: 10.88 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.0005153/0.3075, allocations: 423.1 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3076, allocations: 9.094 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.3076, allocations: 8.844 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3078, allocations: 190.1 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-06/0.3078, allocations: 2.25 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3079, allocations: 6.375 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3081, allocations: 83.69 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3081, allocations: 0 / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3081, allocations: 1.375 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3081, allocations: 0 / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.3083, allocations: 46.92 kB / 0.5359 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3087, allocations: 305.8 kB / 0.5362 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3088, allocations: 53.62 kB / 0.5363 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.383e-05/0.3089, allocations: 24.56 kB / 0.5363 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.3089, allocations: 5.156 kB / 0.5363 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.309, allocations: 39.69 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.309, allocations: 0 / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008072/0.3098, allocations: 230 kB / 0.5366 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3099, allocations: 78.23 kB / 0.5366 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.31, allocations: 155.8 kB / 0.5368 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.31, allocations: 26.55 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.3101, allocations: 100.1 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3101, allocations: 23.06 kB / 0.5369 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.3102, allocations: 23.08 kB / 0.537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3103, allocations: 321.9 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3104, allocations: 40.89 kB / 0.5373 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3106, allocations: 53.78 kB / 0.5374 GB, free: 8.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3108, allocations: 91.44 kB / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3108, allocations: 0 / 0.5374 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002981/0.3111, allocations: 129.1 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3112, allocations: 8.156 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3112, allocations: 1.031 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3112, allocations: 0 / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.3113, allocations: 23.78 kB / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3113, allocations: 0 / 0.5376 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.3114, allocations: 14.91 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3114, allocations: 0.8125 kB / 0.5376 GB, free: 8.664 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 (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 prepare postOptimizeDAE: time 8.742e-05/0.3115, allocations: 128.7 kB / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3115, allocations: 7.844 kB / 0.5377 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.3119, allocations: 143 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3119, allocations: 1.156 kB / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3119, allocations: 0 / 0.5379 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3119, allocations: 3.938 kB / 0.5379 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.3125, allocations: 410.6 kB / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3125, allocations: 0 / 0.5383 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.3126, allocations: 27.06 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3126, allocations: 1.031 kB / 0.5383 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3126, allocations: 5 kB / 0.5383 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3127, allocations: 0 / 0.5383 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3127, allocations: 1 kB / 0.5383 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.313, allocations: 223.8 kB / 0.5385 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.3131, allocations: 87.83 kB / 0.5386 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3131, allocations: 3.938 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.3132, allocations: 10.83 kB / 0.5386 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3132, allocations: 10.33 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3132, allocations: 2.062 kB / 0.5386 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.3133, allocations: 121.1 kB / 0.5387 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.3133, allocations: 0 / 0.5387 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.3136, allocations: 43.03 kB / 0.5388 GB, free: 7.625 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.001109/0.3148, allocations: 480.9 kB / 0.5392 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3151, allocations: 101.5 kB / 0.5393 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3151, allocations: 3.938 kB / 0.5393 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.3153, allocations: 49.25 kB / 0.5394 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3156, allocations: 20.66 kB / 0.5394 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.3161, allocations: 242 kB / 0.5396 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3164, allocations: 0.7014 MB / 0.5403 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.3165, allocations: 20.67 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3165, allocations: 0 / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of Templates: time 0.004407/0.3209, allocations: 2.191 MB / 0.5425 GB, free: 5.242 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches