Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, 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.001888/0.001888, 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.369/1.369, 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.2147/0.2147, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 71.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2977, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002892/0.3006, allocations: 1.659 MB / 0.5333 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3023, allocations: 1.17 MB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.3023, allocations: 1.375 kB / 0.5344 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.3025, allocations: 22.59 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.3028, allocations: 81.73 kB / 0.5345 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3031, allocations: 138.6 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.3033, allocations: 71.27 kB / 0.5347 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.3034, allocations: 20.23 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.3034, allocations: 30.84 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3036, allocations: 40.16 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3036, allocations: 4.125 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.3037, allocations: 97.56 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.3038, allocations: 20.09 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.3039, allocations: 37.17 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3041, allocations: 151.9 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3041, allocations: 1.375 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3041, allocations: 0 / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3041, allocations: 0 / 0.5351 GB, free: 10.94 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.0004962/0.3046, allocations: 405.7 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3047, allocations: 9.625 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.3047, allocations: 8.969 kB / 0.5355 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.305, allocations: 196.3 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.305, allocations: 1.688 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.305, allocations: 7.016 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3052, allocations: 73.3 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3052, allocations: 3.938 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3052, allocations: 5.031 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3052, allocations: 0.875 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.3054, allocations: 40.83 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.3057, allocations: 295.2 kB / 0.5361 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3059, allocations: 43.72 kB / 0.5362 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.306, allocations: 27.44 kB / 0.5362 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.306, allocations: 5.062 kB / 0.5362 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.306, allocations: 31.62 kB / 0.5362 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.306, allocations: 0 / 0.5362 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007897/0.3068, allocations: 215.6 kB / 0.5364 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3069, allocations: 78.17 kB / 0.5365 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3071, allocations: 144.9 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3071, allocations: 26.83 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.3072, allocations: 99.59 kB / 0.5368 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3072, allocations: 26.03 kB / 0.5368 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.3072, allocations: 23.48 kB / 0.5368 GB, free: 9.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3074, allocations: 313.1 kB / 0.5371 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3075, allocations: 38.94 kB / 0.5371 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3076, allocations: 42.59 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3078, allocations: 76.83 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3079, allocations: 0 / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002951/0.3082, allocations: 118.9 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3082, allocations: 7 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3082, allocations: 0 / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3082, allocations: 1.281 kB / 0.5374 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3083, allocations: 22.39 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3084, allocations: 1.156 kB / 0.5374 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.3084, allocations: 17.89 kB / 0.5374 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3085, allocations: 1.344 kB / 0.5374 GB, free: 8.785 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.861e-05/0.3085, allocations: 119 kB / 0.5375 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.3086, allocations: 9.031 kB / 0.5375 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3089, allocations: 130.8 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3089, allocations: 0.8125 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.309, allocations: 4 kB / 0.5377 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.309, allocations: 5.031 kB / 0.5377 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.3095, allocations: 390.9 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3095, allocations: 1.031 kB / 0.5381 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.3096, allocations: 18.95 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3096, allocations: 0 / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3096, allocations: 8.969 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3096, allocations: 13 kB / 0.5381 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3096, allocations: 3.984 kB / 0.5381 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.31, allocations: 210.1 kB / 0.5383 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.31, allocations: 79.64 kB / 0.5384 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.31, allocations: 5.25 kB / 0.5384 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.3102, allocations: 13.36 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3102, allocations: 10.7 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.3102, allocations: 2.562 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.383e-05/0.3103, allocations: 113.8 kB / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3103, allocations: 0 / 0.5385 GB, free: 7.781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3106, allocations: 42.05 kB / 0.5386 GB, free: 7.766 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.001064/0.3117, allocations: 495 kB / 0.539 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.312, allocations: 86.3 kB / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.312, allocations: 0 / 0.5391 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3121, allocations: 42.22 kB / 0.5391 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3125, allocations: 25.08 kB / 0.5392 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.313, allocations: 233.1 kB / 0.5394 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3132, allocations: 0.6908 MB / 0.5401 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.3133, allocations: 19.53 kB / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3133, allocations: 0 / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of Templates: time 0.004099/0.3174, allocations: 2.093 MB / 0.5421 GB, free: 5.445 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches