Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, 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.00128/0.00128, 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.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 80 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2967, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002928/0.2996, allocations: 1.672 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3007, allocations: 0.5912 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3008, allocations: 0.8125 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.3014, allocations: 453.4 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.3018, allocations: 292.9 kB / 0.5346 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.3023, allocations: 177.2 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.3026, allocations: 180.4 kB / 0.535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3027, allocations: 24.09 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.3028, allocations: 119.6 kB / 0.5351 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3031, allocations: 220.7 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.3031, allocations: 3.875 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3033, allocations: 56.73 kB / 0.5354 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3034, allocations: 88.47 kB / 0.5354 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.3035, allocations: 107.7 kB / 0.5355 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.3039, allocations: 284.9 kB / 0.5358 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3039, allocations: 0 / 0.5358 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3039, allocations: 5.156 kB / 0.5358 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3039, allocations: 0 / 0.5358 GB, free: 10.81 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.0008777/0.3048, allocations: 0.6492 MB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3049, allocations: 9.094 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.027e-05/0.305, allocations: 47.53 kB / 0.5365 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3053, allocations: 299.4 kB / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3053, allocations: 1.875 kB / 0.5368 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3053, allocations: 12.2 kB / 0.5368 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3055, allocations: 72.84 kB / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3056, allocations: 0 / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3056, allocations: 1.219 kB / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3056, allocations: 0.9688 kB / 0.5369 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3057, allocations: 49.2 kB / 0.5369 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3064, allocations: 413.1 kB / 0.5373 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.3066, allocations: 61.42 kB / 0.5374 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.3067, allocations: 25.03 kB / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.3068, allocations: 9.125 kB / 0.5374 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3068, allocations: 35.92 kB / 0.5374 GB, free: 9.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3068, allocations: 0 / 0.5374 GB, free: 9.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001719/0.3085, allocations: 0.4896 MB / 0.5379 GB, free: 9.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3086, allocations: 60.5 kB / 0.538 GB, free: 8.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3096, allocations: 0.8633 MB / 0.5388 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3097, allocations: 27.48 kB / 0.5389 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3098, allocations: 222.4 kB / 0.5391 GB, free: 8.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.3099, allocations: 33.09 kB / 0.5391 GB, free: 8.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.31, allocations: 29.23 kB / 0.5391 GB, free: 8.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3101, allocations: 364.7 kB / 0.5395 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3103, allocations: 52.97 kB / 0.5395 GB, free: 7.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.3105, allocations: 53.33 kB / 0.5396 GB, free: 7.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3108, allocations: 136.1 kB / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3108, allocations: 0 / 0.5397 GB, free: 7.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004093/0.3112, allocations: 202.6 kB / 0.5399 GB, free: 7.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3112, allocations: 5.312 kB / 0.5399 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3112, allocations: 0 / 0.5399 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3113, allocations: 0 / 0.5399 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3114, allocations: 28.73 kB / 0.5399 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3114, allocations: 5.328 kB / 0.5399 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3115, allocations: 9.562 kB / 0.5399 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3115, allocations: 3.031 kB / 0.5399 GB, free: 7.688 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 (11): * Single equations (assignments): 11 * 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.0002446/0.3118, allocations: 225 kB / 0.5402 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.3119, allocations: 42.09 kB / 0.5402 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.3124, allocations: 233.1 kB / 0.5404 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3124, allocations: 6.188 kB / 0.5404 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3124, allocations: 0 / 0.5404 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3124, allocations: 0 / 0.5404 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/0.3133, allocations: 0.5994 MB / 0.541 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3133, allocations: 1.188 kB / 0.541 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3134, allocations: 31.95 kB / 0.541 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.3135, allocations: 5.266 kB / 0.5411 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3135, allocations: 2.219 kB / 0.5411 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3135, allocations: 5.094 kB / 0.5411 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3135, allocations: 5.031 kB / 0.5411 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.314, allocations: 303.3 kB / 0.5414 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.314, allocations: 114.2 kB / 0.5415 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.3141, allocations: 1.594 kB / 0.5415 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3142, allocations: 14.58 kB / 0.5415 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3143, allocations: 9.109 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3143, allocations: 2.719 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007043/0.315, allocations: 0.6529 MB / 0.5421 GB, free: 6.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.315, allocations: 0 / 0.5421 GB, free: 6.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3153, allocations: 37.45 kB / 0.5422 GB, free: 6.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00111/0.3164, allocations: 452.9 kB / 0.5426 GB, free: 5.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.3168, allocations: 137.9 kB / 0.5427 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3168, allocations: 0 / 0.5427 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.317, allocations: 66.95 kB / 0.5428 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3175, allocations: 33.17 kB / 0.5428 GB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3188, allocations: 0.9238 MB / 0.5437 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.3193, allocations: 0.8299 MB / 0.5445 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.3193, allocations: 23.42 kB / 0.5446 GB, free: 4.281 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3194, allocations: 0 / 0.5446 GB, free: 4.281 MB / 398.1 MB Notification: Performance of Templates: time 0.008276/0.3276, allocations: 4.256 MB / 0.5487 GB, free: 24 kB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches